diff options
Diffstat (limited to 'lua/plugins/treesitter.lua')
-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..e7b181d --- /dev/null +++ b/lua/plugins/treesitter.lua @@ -0,0 +1,13 @@ +return { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function() + local config = require("nvim-treesitter.configs") + config.setup({ + ensure_installed = { "lua", "javascript", "yaml", "python", "terraform" }, + sync_install = false, + highlight = { enable = true }, + indent = { enable = true }, + }) + end +} |