From 5627d6d4297b2e9465a9f8c01cf46a121471ee97 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 6 Jun 2020 18:16:25 -0400 Subject: [PATCH] lang/gdscript: minor reformatting --- modules/lang/gdscript/README.org | 22 +++++++++++++--------- modules/lang/gdscript/config.el | 4 ++++ 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/modules/lang/gdscript/README.org b/modules/lang/gdscript/README.org index 16ae0f09e..45cb1d3e2 100644 --- a/modules/lang/gdscript/README.org +++ b/modules/lang/gdscript/README.org @@ -13,18 +13,18 @@ - [[#commands][Commands]] * Description - -This module adds support for GDScript, the scripting language of the [[http://godotengine.org/][Godot]] game engine, to Doom Emacs, powered by [[https://github.com/GDQuest/emacs-gdscript-mode][gdscript-mode]]. +This module adds support for GDScript, the scripting language of the [[http://godotengine.org/][Godot]] game +engine, to Doom Emacs, powered by [[https://github.com/GDQuest/emacs-gdscript-mode][gdscript-mode]]. ** Module Flags -+ =+lsp= Enables LSP support for gdscript-mode. This requires the =:tools lsp= module to be enabled - and you need to open your project in Godot ~3.2.1~ or above to run the language server. ++ =+lsp= Enables LSP support for gdscript-mode. This requires the =:tools lsp= + module to be enabled and you need to open your project in Godot ~3.2.1~ or + above to run the language server. ** Plugins This module provides no plugins. * Prerequisites - To format your GDScript code, you need to install [[https://github.com/Scony/godot-gdscript-toolkit/][gdtoolkit]]: #+BEGIN_SRC shell @@ -36,12 +36,16 @@ pip3 install gdtoolkit #+END_SRC * Features +The language server support for GDScript is built into by lsp-mode. As long as +you have the ~lsp~ module installed, you should be able to use the language +server. -The language server support for GDScript is built into by lsp-mode. As long as you have the ~lsp~ module installed, you should be able to use the language server. +Godot's language server is built into the game engine, so you need to open your +project in Godot ~3.2.1~ or above for the GDScript language server to be +available. -Godot's language server is built into the game engine, so you need to open your project in Godot ~3.2.1~ or above for the GDScript language server to be available. - -/Note that the GDScript language server has known issues causing some errors with lsp-mode. They should be addressed in future releases./ +/Note that the GDScript language server has known issues causing some errors +with lsp-mode. They should be addressed in future releases./ * Configuration This module provides no configuration. diff --git a/modules/lang/gdscript/config.el b/modules/lang/gdscript/config.el index a3064ca0b..d27af2e66 100644 --- a/modules/lang/gdscript/config.el +++ b/modules/lang/gdscript/config.el @@ -3,6 +3,10 @@ (after! projectile (add-to-list 'projectile-project-root-files "project.godot")) + +;; +;;; Packages + (use-package! gdscript-mode :defer t :config