fix(build): remove neovim only plugins in compat

This commit is contained in:
Michael Chris Lopez
2023-06-27 08:16:24 +08:00
parent 75e8b77fce
commit 10b299a7bd

View File

@@ -40,9 +40,18 @@ run(
lushwright.to_vimscript, lushwright.to_vimscript,
lushwright.vim_compatible_vimscript, lushwright.vim_compatible_vimscript,
function(colors) function(colors)
-- filter out treesitter
local vimcolors = vim.tbl_filter(function(color) local vimcolors = vim.tbl_filter(function(color)
return not string.match(color, "@") return not (
string.match(color, "@")
or string.match(color, "Noice")
or string.match(color, "Telescope")
or string.match(color, "Leap")
or string.match(color, "Hop")
or string.match(color, "Neogit")
or string.match(color, "NvimTree")
or string.match(color, "Cmp")
or string.match(color, "Mason")
)
end, colors) end, colors)
return { return {
vimcolors, vimcolors,