14 lines
581 B
Plaintext
14 lines
581 B
Plaintext
|
;; 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}}))
|