aboutsummaryrefslogtreecommitdiff
path: root/store/config/nvim/lua/setup/plugins/tree-sitter.lua
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-06-04 18:42:09 +0800
committerYuqian Yang <crupest@crupest.life>2025-06-04 18:43:00 +0800
commit494c9f27f2483440d022a11c4a81ddd7bea33cb5 (patch)
tree5c6cf80ae2ee849344be14832fb561bae1fc07be /store/config/nvim/lua/setup/plugins/tree-sitter.lua
parentc3cdc6e002eec05be3bcaa4fb14e5dff06e975da (diff)
downloadcrupest-494c9f27f2483440d022a11c4a81ddd7bea33cb5.tar.gz
crupest-494c9f27f2483440d022a11c4a81ddd7bea33cb5.tar.bz2
crupest-494c9f27f2483440d022a11c4a81ddd7bea33cb5.zip
chore(config): move dir.
Diffstat (limited to 'store/config/nvim/lua/setup/plugins/tree-sitter.lua')
-rw-r--r--store/config/nvim/lua/setup/plugins/tree-sitter.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/store/config/nvim/lua/setup/plugins/tree-sitter.lua b/store/config/nvim/lua/setup/plugins/tree-sitter.lua
new file mode 100644
index 0000000..043f425
--- /dev/null
+++ b/store/config/nvim/lua/setup/plugins/tree-sitter.lua
@@ -0,0 +1,11 @@
+local function setup()
+ require'nvim-treesitter.configs'.setup {
+ highlight = { enable = true },
+ incremental_selection = { enable = true },
+ textobjects = { enable = true },
+ }
+end
+
+return {
+ setup = setup
+}