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
commitb7d674cac0aa21bac00c7c26f0d51bd65ec19f13 (patch)
tree0839e5b087fe6c3d711f4a4e0e365d49b6e53193 /store/config/nvim/lua/setup/plugins/tree-sitter.lua
parent166bdbc8bfb89b007b1a9ede885af5582074481c (diff)
downloadcrupest-b7d674cac0aa21bac00c7c26f0d51bd65ec19f13.tar.gz
crupest-b7d674cac0aa21bac00c7c26f0d51bd65ec19f13.tar.bz2
crupest-b7d674cac0aa21bac00c7c26f0d51bd65ec19f13.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
+}