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

@ -5,5 +5,7 @@
:init
(when (modulep! +lsp)
(add-hook 'yaml-mode-local-vars-hook #'lsp! 'append))
(when (modulep! +tree-sitter)
(add-hook 'yaml-mode-local-vars-hook #'tree-sitter! 'append))
:config
(setq-hook! 'yaml-mode-hook tab-width yaml-indent-offset))