kitchen sink

This commit is contained in:
2025-01-24 13:56:11 -06:00
parent a0ebc39b59
commit 8eaa615596
25 changed files with 444 additions and 412 deletions

View File

@ -8,7 +8,7 @@ table.contains = function(self, string)
end
return { 'nvim-treesitter/nvim-treesitter',
disable = vim.version.lt(vim.version(), { 0, 9, 2 }),
disable = vim.version().minor < 10,
config = function()
vim.cmd.TSUpdate()
end,
@ -24,11 +24,11 @@ return { 'nvim-treesitter/nvim-treesitter',
indent = {
enable = true,
disable = function(lang, buf)
disable = function(lang, _)
-- disable indenting in php (it's more broken with than without)
return table.contains({
return table.contains(({
"php"
}, lang)
}), lang)
end
},
@ -40,9 +40,9 @@ return { 'nvim-treesitter/nvim-treesitter',
disable = function(lang, buf)
-- disable in some files where vim's builtin highlighting is better
if table.contains({
if table.contains(({
"diff", "tex"
}, lang) then
}), lang) then
return true
end