diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-09-18 00:58:26 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-09-18 00:58:28 +0200 |
commit | cb36ccfa8db66db953795fd8e22138ed1712b1cd (patch) | |
tree | fc0f8ef4e73c5fa7fb627d383a991aeb49a59bca /after/plugin/treesitter.lua | |
parent | 424ad679f861031485e2e2f0ca19f5b559db929b (diff) |
checkpoint
- added basic luasnip configuration
- added highlights for TODO and FIXME keywords
- added incremental selection of treesitter
- added prettier to conform formatters
- added when_disabled function to disable pairs in comments
- changed the hiding keybind to :Hide command
- only enable ` pairs in markdown
- removed <c-k> keybind
- removed cmp's calc source
- renamed keybinds for consistency
- reorganized plugins in lazy.lua
Diffstat (limited to 'after/plugin/treesitter.lua')
-rw-r--r-- | after/plugin/treesitter.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua index 1eb6fa5..83eb7cf 100644 --- a/after/plugin/treesitter.lua +++ b/after/plugin/treesitter.lua @@ -7,4 +7,11 @@ require("nvim-treesitter.configs").setup({ enable = true, additional_vim_regex_highlighting = false, }, + incremental_selection = { + enable = true, + keymaps = { + node_incremental = "v", + node_decremental = "V", + }, + }, }) |