From 8b9517d63146e170a03554033164c2126160f8a8 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Fri, 24 Jan 2025 00:21:04 +0000 Subject: Add treesitter --- lua/plugins/treesitter.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lua/plugins/treesitter.lua diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua new file mode 100644 index 0000000..24e6c32 --- /dev/null +++ b/lua/plugins/treesitter.lua @@ -0,0 +1,13 @@ +return { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function () + local ts = require("nvim-treesitter.configs") + ts.setup({ + ensure_installed = { "c", "lua", "vim", "vimdoc", "html", "css", "javascript" }, + sync_install = false, + highlight = { enable = true }, + indent = { enable = true }, + }) + end +} -- cgit