feat(tree-sitter): add support for more languages
In this case - lua - erlang - ess-r - yaml
This commit is contained in:
parent
e578c0ecfc
commit
fd7ac6710e
4 changed files with 13 additions and 2 deletions
|
@ -41,7 +41,10 @@ lua-language-server.")
|
|||
"-E" "-e" "LANG=en"
|
||||
(doom-path +lua-lsp-dir "main.lua")))
|
||||
|
||||
(set-eglot-client! 'lua-mode (+lua-generate-lsp-server-command)))))
|
||||
(set-eglot-client! 'lua-mode (+lua-generate-lsp-server-command)))
|
||||
|
||||
(when (modulep! +tree-sitter!)
|
||||
(add-hook 'lua-mode-local-vars-hook #'tree-sitter! 'append))))
|
||||
|
||||
|
||||
(use-package! moonscript
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue