Split treesitter plugins

This commit is contained in:
Christopher Williams
2026-01-11 21:52:28 -05:00
parent be09201c95
commit 2e2010c48d
5 changed files with 89 additions and 48 deletions
+1 -33
View File
@@ -17,39 +17,7 @@ local M = {
},
},
},
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local ensureInstalled = {
"lua",
"python",
"javascript",
"typescript",
"java",
"go",
"rust",
"html",
"css",
"json",
"yaml",
"markdown",
"sql",
"org",
}
local alreadyInstalled = require("nvim-treesitter.config").get_installed()
local parsersToInstall = vim.iter(ensureInstalled)
:filter(function(parser)
return not vim.tbl_contains(alreadyInstalled, parser)
end)
:totable()
require("nvim-treesitter").install(parsersToInstall)
end,
},
{
"nvim-treesitter/nvim-treesitter-textobjects",
branch = "main",
},
{
"junegunn/fzf.vim",
dependencies = {