feat(tree-sitter): add support for more languages

In this case
- lua
- erlang
- ess-r
- yaml
This commit is contained in:
Jeetaditya Chatterjee 2022-12-04 03:10:55 +00:00 committed by Henrik Lissner
parent e578c0ecfc
commit fd7ac6710e
4 changed files with 13 additions and 2 deletions

View file

@ -6,4 +6,7 @@
:mode ("/\\(?:app\\|sys\\)\\.config\\'" . erlang-mode)
:config
(when (modulep! +lsp)
(add-hook 'erlang-mode-local-vars-hook #'lsp! 'append)))
(add-hook 'erlang-mode-local-vars-hook #'lsp! 'append))
(when (modulep! +tree-sitter)
(add-hook 'erlang-mode-local-vars-hook #'tree-sitter! 'append)))