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:
parent
d66dd5593a
commit
f5b3958331
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue