From 2fb74089d3515077395299bce9df32e9e989a8ac Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 16 Feb 2022 08:54:25 +0900 Subject: rel: v0.1 - Disable lazy-loading plugins - Add more useful plugins - Fix bar from loading slowly - Add support for neomutt - Change keybinds - Add Editorconfig --- fnl/nvrc/packs/treesitter.fnl | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'fnl/nvrc/packs/treesitter.fnl') diff --git a/fnl/nvrc/packs/treesitter.fnl b/fnl/nvrc/packs/treesitter.fnl index d43f97a..befcbc9 100644 --- a/fnl/nvrc/packs/treesitter.fnl +++ b/fnl/nvrc/packs/treesitter.fnl @@ -4,17 +4,27 @@ (setup {:ensure_installed [:fennel :lua :nix] :highlight {:enable true} + :context_commentstring {:enable true + :config {:fennel "; %s"}} + :rainbow {:enable true + :extended_mode true + :max_file_lines 2000 + :disable ["c" "cpp"] + :colors [ + (. colors :skyblue) + (. 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 :rn}} + :keymaps {:smart_rename :grr}} :navigation {:enable true - :keymaps {:goto_definition :gd - :list_definitions :ld - :list_definitions_toc :td - :goto_next_usage : - :goto_previous_usage ""}}} + :keymaps {:goto_definition :gnd + :list_definitions :gnD + :goto_next_usage : + :goto_previous_usage :}}} :textobjects {:select {:enable true :lookahead true :keymaps {:if "@function.inner" -- cgit 1.4.1