aboutsummaryrefslogtreecommitdiffstats
path: root/config/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-07-08 10:18:20 +0900
committerGitHub <noreply@github.com>2024-07-08 10:18:20 +0900
commit9d8709a2ce4b3c58fdb309d28f2052834cb2a7fd (patch)
treef0d59a5f86560722423eb4d704733bd8034e5b2c /config/nvim/lua/plugins/treesitter.lua
parent33db28c181f8324db90803af09344f0bcd8ff4d2 (diff)
parentfd0344c5e578cbd6b1a4a5dff18e927956157e02 (diff)
Merge pull request #374 from Fernu292/nvim-config
Nvim config
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