diff options
| author | Blake Romero <blake@blkrom.com> | 2025-01-24 00:21:04 +0000 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-01-24 00:21:04 +0000 |
| commit | 8b9517d63146e170a03554033164c2126160f8a8 (patch) | |
| tree | 5040806b01aca9595a454ff30bbf9d9be659af49 | |
| parent | 29d82d16de6f44c59ee0c93a20ca3a9c645741f5 (diff) | |
Add treesitter
| -rw-r--r-- | lua/plugins/treesitter.lua | 13 |
1 files changed, 13 insertions, 0 deletions
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 +} |
