2023-07-31 10:31:27 +02:00
|
|
|
(let [treesitter-config (require :nvim-treesitter.configs)
|
2022-05-31 15:46:32 +02:00
|
|
|
nifoc-treesitter (require :nifoc.treesitter)
|
2022-11-11 15:06:11 +01:00
|
|
|
disable-parsers []]
|
2022-05-31 15:46:32 +02:00
|
|
|
(nifoc-treesitter.setup)
|
2022-06-05 22:51:01 +02:00
|
|
|
(treesitter-config.setup {:ensure_installed []
|
2022-04-09 17:39:52 +02:00
|
|
|
:sync_install true
|
2022-11-09 00:24:54 +01:00
|
|
|
:auto_install false
|
|
|
|
:highlight {:enable true :disable disable-parsers}
|
2022-11-11 15:06:11 +01:00
|
|
|
:indent {:enable true :disable disable-parsers}
|
2022-04-05 21:57:44 +02:00
|
|
|
:textobjects {:select {:enable true
|
2022-11-11 15:06:11 +01:00
|
|
|
:disable disable-parsers
|
2022-04-05 21:57:44 +02:00
|
|
|
:keymaps {:af "@function.outer"
|
|
|
|
:if "@function.inner"
|
|
|
|
:ac "@conditional.outer"
|
|
|
|
:ic "@conditional.inner"}}}
|
2022-11-09 00:24:54 +01:00
|
|
|
:matchup {:enable true :disable disable-parsers}
|
2022-11-11 15:06:11 +01:00
|
|
|
:autopairs {:enable true :disable disable-parsers}
|
|
|
|
:autotag {:enable true :disable disable-parsers}
|
2022-04-05 21:57:44 +02:00
|
|
|
:playground {:enable true}
|
2022-11-11 15:06:11 +01:00
|
|
|
:nifoc_hooks {:enable true
|
|
|
|
:disable disable-parsers}}))
|