nvim-config/fnl/treesitter-setup.fnl

14 lines
581 B
Plaintext
Raw Normal View History

2023-07-28 06:29:05 +00:00
;; Syntax Highlighting via Treesitter
;; NOTE: if you add a language to treesitter for syntax highlighting or otherwise
;; consider also adding the LSP via Mason below...
(let
[treesitter (require :nvim-treesitter.configs)]
(treesitter.setup
{:ensure_installed [:c :lua :vim :vimdoc :query ; required
:fennel] ; add new languages here
:sync_install false
:auto_install false
:ignore_install [] ; could :ensure_installed :all, then ignore unwanted.
:highlight {:enable true}
:indent {:enable true}}))