1
0
Fork 0
dotfiles/home/config/nvim/plugins/treesitter.fnl
2023-10-31 21:24:26 +01:00

20 lines
1.3 KiB
Fennel

(let [treesitter-config (require :nvim-treesitter.configs)
nifoc-treesitter (require :nifoc.treesitter)
disable-parsers []]
(nifoc-treesitter.setup)
(treesitter-config.setup {:ensure_installed []
:sync_install true
:auto_install false
:highlight {:enable true :disable disable-parsers}
:indent {:enable true :disable disable-parsers}
:textobjects {:select {:enable true
:disable disable-parsers
:keymaps {:af "@function.outer"
:if "@function.inner"
:ac "@conditional.outer"
:ic "@conditional.inner"}}}
:matchup {:enable true :disable disable-parsers}
:autopairs {:enable true :disable disable-parsers}
:playground {:enable true}
:nifoc_hooks {:enable true
:disable disable-parsers}}))