aboutsummaryrefslogtreecommitdiffstats
path: root/config/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-08-14 00:48:44 +0900
committerGitHub <noreply@github.com>2024-08-14 00:48:44 +0900
commitac062ecf708b28d10cc3275fcf9e18c736d568f4 (patch)
treed80f5d1f469304bd625b4a8fd2c49085e24f3285 /config/nvim/lua/plugins/treesitter.lua
parentf9ff441fe41e4af112411b4bef55bca98c2f7474 (diff)
parent69a7793deddb102d9643d5ee047bde81ba25bcbd (diff)
Merge pull request #402 from JaKooLit/main
Main to AGS-Dev
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