summaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-02-08 11:49:10 +0100
committerNaz <ndpm13@ch-naseem.com>2025-02-08 11:49:10 +0100
commit9b9eab0b94e1aa7202226002d8774603677d23ba (patch)
treec6b9f4d4485d0873553bf324a976b7691aa70667 /lua/plugins/treesitter.lua
parent0f181056a80d84e71f402b4d202c68c0212e215a (diff)
✨feat: add LSP and IDEish plugins
Diffstat (limited to 'lua/plugins/treesitter.lua')
-rw-r--r--lua/plugins/treesitter.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua
new file mode 100644
index 0000000..ca5e733
--- /dev/null
+++ b/lua/plugins/treesitter.lua
@@ -0,0 +1,18 @@
+return {
+ "nvim-treesitter/nvim-treesitter",
+ build = ":TSUpdate",
+ config = function()
+ local configs = require("nvim-treesitter.configs")
+ configs.setup({
+ sync_install = false,
+
+ auto_install = true,
+
+ highlight = {
+ enable = true,
+ additional_vim_regex_highlighting = false,
+ },
+ indent = { enable = true },
+ })
+ end,
+}