aboutsummaryrefslogtreecommitdiff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-26 14:55:27 +0900
committersefidel <contact@sefidel.net>2022-02-26 14:55:27 +0900
commitaceb6065119d621a84d0eceb9017f7036e24acee (patch)
tree4f3345d8cf72fc9bb28adb2931c0d2993a1a8b24 /fnl/nvrc/packs
parent27010418b30db788bed4854465d3c7d1c1d548a8 (diff)
downloadnvimrc-aceb6065119d621a84d0eceb9017f7036e24acee.zip
feat(treesitter): cleanup
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/treesitter.fnl28
1 files changed, 3 insertions, 25 deletions
diff --git a/fnl/nvrc/packs/treesitter.fnl b/fnl/nvrc/packs/treesitter.fnl
index befcbc9..2d12e1a 100644
--- a/fnl/nvrc/packs/treesitter.fnl
+++ b/fnl/nvrc/packs/treesitter.fnl
@@ -3,9 +3,8 @@
(local colors (require :nvrc.colors))
(setup {:ensure_installed [:fennel :lua :nix]
- :highlight {:enable true}
- :context_commentstring {:enable true
- :config {:fennel "; %s"}}
+ :highlight {:enable true
+ :use_languagetree true}
:rainbow {:enable true
:extended_mode true
:max_file_lines 2000
@@ -15,25 +14,4 @@
(. colors :blue)
(. colors :violet)
(. colors :magenta)]}
- :indent {:enable true}
- :refactor {:highlight_definitions {:enable true}
- :highlight_current_scope {:enable false}
- :smart_rename {:enable true
- :keymaps {:smart_rename :grr}}
- :navigation {:enable true
- :keymaps {:goto_definition :gnd
- :list_definitions :gnD
- :goto_next_usage :<M-2>
- :goto_previous_usage :<M-1>}}}
- :textobjects {:select {:enable true
- :lookahead true
- :keymaps {:if "@function.inner"
- :af "@function.outer"
- :ic "@class.inner"
- :ac "@class.outer"
- :ia "@parameter.inner"
- :aa "@parameter.outer"}}
- :swap {:enable true
- :swap_next {:<localleader>> "@parameter.inner"}
- :swap_previous {:<localleader>< "@parameter.inner"}}}
- :matchup {:enable true}})
+ :indent {:enable true}})