diff --git a/lua/plugins/20-treesitter.lua b/lua/plugins/20-treesitter.lua index b95ebb1..175a258 100644 --- a/lua/plugins/20-treesitter.lua +++ b/lua/plugins/20-treesitter.lua @@ -1,55 +1,3 @@ -local full_ensure = { - "bash", - "c", - "cmake", - "cpp", - "css", - "diff", - "dockerfile", - "git_config", - "git_rebase", - "gitattributes", - "gitcommit", - "gitignore", - "go", - "gomod", - "gosum", - "html", - "java", - "javascript", - "json", - "json5", - "jsonc", - "lua", - "luadoc", - "luau", - "make", - "markdown", - "markdown_inline", - "python", - "rust", - "scss", - "sql", - "toml", - "vim", - "vimdoc", - "yaml" -} - -local basic_ensure = { - "toml", - "json", - "json5", - "jsonc", - "yaml", -} - -if custom.full_feature then - ensure = full_ensure -else - ensure = basic_ensure -end - return { "nvim-treesitter/nvim-treesitter", name = "nvim-treesitter",