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

in this case clojure and fennel
This commit is contained in:
Jeetaditya Chatterjee 2023-02-21 16:17:41 +00:00 committed by Henrik Lissner
parent 63fac4fc6d
commit 40905d2c5a
2 changed files with 12 additions and 2 deletions

View file

@ -74,7 +74,10 @@ lua-language-server.")
tab-width 2
;; Don't treat autoloads or sexp openers as outline headers, we have
;; hideshow for that.
outline-regexp "[ \t]*;;;;* [^ \t\n]"))
outline-regexp "[ \t]*;;;;* [^ \t\n]")
(when (modulep! +tree-sitter)
(add-hook! 'fennel-mode-local-vars-hook 'tree-sitter! 'append)))
;;