lang/gdscript: minor reformatting
This commit is contained in:
parent
9cc98c73d4
commit
5627d6d429
2 changed files with 17 additions and 9 deletions
|
@ -13,18 +13,18 @@
|
||||||
- [[#commands][Commands]]
|
- [[#commands][Commands]]
|
||||||
|
|
||||||
* Description
|
* Description
|
||||||
|
This module adds support for GDScript, the scripting language of the [[http://godotengine.org/][Godot]] game
|
||||||
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]].
|
engine, to Doom Emacs, powered by [[https://github.com/GDQuest/emacs-gdscript-mode][gdscript-mode]].
|
||||||
|
|
||||||
** Module Flags
|
** Module Flags
|
||||||
+ =+lsp= Enables LSP support for gdscript-mode. This requires the =:tools lsp= module to be enabled
|
+ =+lsp= Enables LSP support for gdscript-mode. This requires the =:tools lsp=
|
||||||
and you need to open your project in Godot ~3.2.1~ or above to run the language server.
|
module to be enabled and you need to open your project in Godot ~3.2.1~ or
|
||||||
|
above to run the language server.
|
||||||
|
|
||||||
** Plugins
|
** Plugins
|
||||||
This module provides no plugins.
|
This module provides no plugins.
|
||||||
|
|
||||||
* Prerequisites
|
* Prerequisites
|
||||||
|
|
||||||
To format your GDScript code, you need to install [[https://github.com/Scony/godot-gdscript-toolkit/][gdtoolkit]]:
|
To format your GDScript code, you need to install [[https://github.com/Scony/godot-gdscript-toolkit/][gdtoolkit]]:
|
||||||
|
|
||||||
#+BEGIN_SRC shell
|
#+BEGIN_SRC shell
|
||||||
|
@ -36,12 +36,16 @@ pip3 install gdtoolkit
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Features
|
* 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
|
* Configuration
|
||||||
This module provides no configuration.
|
This module provides no configuration.
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
(after! projectile
|
(after! projectile
|
||||||
(add-to-list 'projectile-project-root-files "project.godot"))
|
(add-to-list 'projectile-project-root-files "project.godot"))
|
||||||
|
|
||||||
|
|
||||||
|
;;
|
||||||
|
;;; Packages
|
||||||
|
|
||||||
(use-package! gdscript-mode
|
(use-package! gdscript-mode
|
||||||
:defer t
|
:defer t
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue