Files
doomemacs/modules/lang/gdscript
Henrik Lissner fbdde6b5f4 module!: add :editor whitespace
BREAKING CHANGE: Moves ws-butler, dtrt-indent, and whitespace defaults
out of Doom's core and into a new module. ws-butler is gated behind
+trim and dtrt-indent behind +guess. Users who depend on/like these
packages will need to enable the new module and their respective
flags (which is the default going forward).

This change is motivated by an ongoing effort to slim down Doom's
core (by (re)moving non-essentials from it).

This also addresses an issue where dtrt-indent would vastly increase
load times for some major-modes (e.g. elixir-mode & elm-mode, see #7537)
by restricting it to non-project files and non-read-only buffers AND
excludign those two major modes from indent guessing.

Fix: #8516
Fix: #7537
2025-09-24 02:23:30 -04:00
..
2024-09-14 20:47:39 -04:00
2025-09-24 02:23:30 -04:00
2025-09-02 16:16:03 +02:00

:lang gdscript

Description   unfold

This module adds support for GDScript, the scripting language of the Godot game engine, to Doom Emacs, powered by gdscript-mode.

Maintainers

This module needs a maintainer. Become a maintainer?

Module flags

+lsp
Enable LSP support for gdscript-mode. Requires doom-module::tools lsp and a langserver (Godot 3.2.1 or newer).

Hacks

No hacks documented for this module.

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module requires Godot 3.2.1+ to be installed to make use of any of its features (beyond syntax highlighting).

To format your GDScript code, you will need gdtoolkit:

# On Windows
pip install gdtoolkit

# On MacOS and Linux
pip3 install gdtoolkit

TODO Usage

󱌣 This module's usage documentation is incomplete. Complete it?

LSP support

The language server support for GDScript is built into by lsp-mode. As long as you have doom-module:+lsp and doom-module::tools lsp enabled, and Godot 3.2.1+ installed, it should work out of the box.

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.

Commands

Press the localleader key (SPC m for evil users, C-c l otherwise) to explore available commands.

TODO Configuration

󱌣 This module has no configuration documentation yet. Write some?

Troubleshooting

Report an issue?

  • The GDScript language server has known issues causing some errors with doom-package:lsp-mode. They should be addressed in future releases.

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

󱌣 This module has no appendix yet. Write one?