mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-11 13:07:28 -05:00
fix(gdscript): make dtrt-indent aware
This allows dtrt-indent (and commands that rely on it, like doom/set-indent-width) to work in gdscript-mode buffers.
This commit is contained in:
@ -36,6 +36,9 @@
|
||||
(when (modulep! +lsp)
|
||||
(add-hook 'gdscript-mode-local-vars-hook #'lsp! 'append))
|
||||
|
||||
(after! dtrt-indent
|
||||
(add-to-list 'dtrt-indent-hook-mapping-list '(gdscript-mode default gdscript-indent-offset)))
|
||||
|
||||
(map! :localleader
|
||||
:map gdscript-mode-map
|
||||
(:prefix ("r" . "run")
|
||||
|
Reference in New Issue
Block a user