diff --git a/.config/nvim/lua/kamu/plugins/treesitter.lua b/.config/nvim/lua/kamu/plugins/treesitter.lua index 5c1d70b..f6bd7fc 100644 --- a/.config/nvim/lua/kamu/plugins/treesitter.lua +++ b/.config/nvim/lua/kamu/plugins/treesitter.lua @@ -1,33 +1,34 @@ -return { - "nvim-treesitter/nvim-treesitter", - build = ":TSUpdate", - config = function () - local configs = require("nvim-treesitter.configs") - configs.setup({ - ensure_installed = { - "c", - "cpp", - "bash", - "lua", - "vim", - "vimdoc", - "json", - "python", - "yaml", - "markdown", - "make", - "query", - "javascript", - "dockerfile", - "html", - "latex", - "css", - "scss", - }, - sync_install = false, - highlight = { enable = true }, - indent = { enable = true }, - }) - end, -} - +return { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function () + local configs = require("nvim-treesitter.configs") + configs.setup({ + ensure_installed = { + "c", + "cpp", + "bash", + "lua", + "vim", + "vimdoc", + "json", + "python", + "yaml", + "markdown", + "make", + "query", + "javascript", + "dockerfile", + "html", + "latex", + "css", + "scss", + }, + sync_install = false, + highlight = { enable = true }, + auto_install = true, -- automatically install syntax support when entering new file type buffer + indent = { enable = true }, + }) + end, +} +