fix(gdscript): remove executable-find formatter check

This commit is contained in:
Ellis Kenyő 2022-11-17 17:36:30 +00:00 committed by Ellis Kenyo
parent e44a7b3c5b
commit d92219d8d8
No known key found for this signature in database
GPG key ID: 298BE5D997EBAA02

View file

@ -13,8 +13,7 @@
(set-lookup-handlers! 'gdscript-mode (set-lookup-handlers! 'gdscript-mode
:documentation #'gdscript-docs-browse-symbol-at-point) :documentation #'gdscript-docs-browse-symbol-at-point)
(when (executable-find "gdformat") (set-formatter! 'gdformat '("gdformat" "-") :modes '(gdscript-mode))
(set-formatter! 'gdformat '("gdformat" "-") :modes '(gdscript-mode)))
(when (modulep! +lsp) (when (modulep! +lsp)
(add-hook 'gdscript-mode-local-vars-hook #'lsp! 'append)) (add-hook 'gdscript-mode-local-vars-hook #'lsp! 'append))