aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/nvim-treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/nvim-treesitter.lua')
-rw-r--r--nvim/lua/plugins/nvim-treesitter.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/nvim/lua/plugins/nvim-treesitter.lua b/nvim/lua/plugins/nvim-treesitter.lua
new file mode 100644
index 0000000..eb0d2fe
--- /dev/null
+++ b/nvim/lua/plugins/nvim-treesitter.lua
@@ -0,0 +1,20 @@
+return {
+ 'nvim-treesitter/nvim-treesitter',
+ lazy = false,
+ build = ':TSUpdate',
+ opts = {
+ ensure_installed = {
+ "zig",
+ "rust",
+ "java",
+ "nix",
+ "yaml",
+ "typescript",
+ "javascript",
+ "lua",
+ },
+ incremental_selection = {
+ enable = true,
+ },
+ },
+}