dots-of-war/files/.config/nvim/fnl/plugins/treesitter.fnl
2021-05-11 19:21:48 +02:00

45 lines
1.3 KiB
Fennel

(module plugins.treesitter
{autoload {a aniseed.core}
require {configs nvim-treesitter.configs}
require-macros [macros]})
(configs.setup
{:ensure_installed "all"
:highlight {:enable true
:disable ["fennel"]}
:incremental_selection {:enable true
:keymaps {:init_selection "gss"
:node_incremental "gsl"
:node_decremental "gsh"
:scope_incremental "gsj"
:scope_decremental "gsk"}}
; Might fuck with gitsigns
;:rainbow {:enable true
;:extended_mode true}
:context_commentstring {:enable true}
:playground
{:enable true
:disable {}
:updatetime 25 ; Debounced time for highlighting nodes in the playground from source code
:persist_queries false ; Whether the query persists across vim sessions
:keybindings
{:toggle_query_editor "o"
:toggle_hl_groups "i"
:toggle_injected_languages "t"
:toggle_anonymous_nodes "a"
:toggle_language_display "I"
:focus_language "f"
:unfocus_language "F"
:update "R"
:goto_node "<cr>"
:show_help "?"}}})
;:indent {:enable true}
;:disable ["lua"]