From 515672d763ac943de492cee95a9aaf359dd7e284 Mon Sep 17 00:00:00 2001 From: Emmet Date: Tue, 8 Aug 2023 21:23:51 -0500 Subject: [PATCH] Fixed gdscript lsp on emacs --- user/app/doom-emacs/config.el | 5 +++++ user/app/doom-emacs/doom.org | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index ce54ecf..f4dc892 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -1049,3 +1049,8 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)." :ensure t) (setq lsp-java-workspace-dir "/home/emmet/.local/share/doom/java-workspace") + +(require 'gdscript-mode) +(use-package gdscript-mode + :hook (gdscript-mode . lsp-deferred) + :ensure t) diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index 821697a..c451b73 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -1220,6 +1220,11 @@ I don't have this active right now since I'm exploring tab-bar mode instead! :ensure t) (setq lsp-java-workspace-dir "/home/emmet/.local/share/doom/java-workspace") + +(require 'gdscript-mode) +(use-package gdscript-mode + :hook (gdscript-mode . lsp-deferred) + :ensure t) #+END_SRC * My init.el This section is the [[./init.el][init.el]] section, which controls which Doom modules are loaded.