aboutsummaryrefslogtreecommitdiffstats
path: root/config/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-08-08 14:12:23 +0000
committerGitHub <noreply@github.com>2024-08-08 14:12:23 +0000
commitd8a3463934bdc6c89a5bbfdce8b2f2325715c8c9 (patch)
treef8b90bb192c86a619c70b5d6359b4387b1b64bb2 /config/nvim/lua/plugins/treesitter.lua
parent41c4923fe79b1462a54881705a580b730405a370 (diff)
parent66cfe8e38194b6c8fcaf1d74aa31b264c79751bc (diff)
Merge pull request #395 from JaKooLit/development
Development to Main in preparation for Hyprland v0.42.0 recently released
Diffstat (limited to 'config/nvim/lua/plugins/treesitter.lua')
-rw-r--r--config/nvim/lua/plugins/treesitter.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/nvim/lua/plugins/treesitter.lua b/config/nvim/lua/plugins/treesitter.lua
new file mode 100644
index 00000000..20063418
--- /dev/null
+++ b/config/nvim/lua/plugins/treesitter.lua
@@ -0,0 +1,12 @@
+return {
+ "nvim-treesitter/nvim-treesitter",
+ build = ":TSUpdate",
+ config = function()
+ local configs = require("nvim-treesitter.configs")
+ configs.setup({
+ ensure_installed = {"lua", "c", "javascript"},
+ highlight = { enable = true },
+ indent = { enable = true }
+ })
+ end
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage