summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2021-08-22 17:53:22 +0200
committerAndreas Schneider <asn@cryptomilk.org>2021-08-22 17:53:22 +0200
commit14e38d20972408f4f21a55761b2946afaf5ce13f (patch)
tree676d560fdd4bd6e66e87fd5f15d2cbfec7fa3e5b
parent796c67744066e362b03e23e5701638690b1fdac6 (diff)
downloaddotfiles-14e38d20972408f4f21a55761b2946afaf5ce13f.tar.gz
dotfiles-14e38d20972408f4f21a55761b2946afaf5ce13f.tar.xz
dotfiles-14e38d20972408f4f21a55761b2946afaf5ce13f.zip
nvim:plugins: Enable treesitter incremental_selection and textobjects
-rw-r--r--nvim/.config/nvim/lua/plugins/nvim-treesitter.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/nvim/.config/nvim/lua/plugins/nvim-treesitter.lua b/nvim/.config/nvim/lua/plugins/nvim-treesitter.lua
index 90efc02..3fcebd9 100644
--- a/nvim/.config/nvim/lua/plugins/nvim-treesitter.lua
+++ b/nvim/.config/nvim/lua/plugins/nvim-treesitter.lua
@@ -8,4 +8,10 @@ require('nvim-treesitter.configs').setup {
highlight = {
enable = true, -- false will disable the whole extension
},
+ incremental_selection = {
+ enable = true,
+ },
+ textobjects = {
+ enable = true,
+ },
}