kitchen sink again :(
This commit is contained in:
@ -7,13 +7,13 @@ table.contains = function(self, string)
|
||||
return false
|
||||
end
|
||||
|
||||
return { 'nvim-treesitter/nvim-treesitter',
|
||||
return { "nvim-treesitter/nvim-treesitter",
|
||||
disable = not vim.fn.has("nvim-0.10.0"),
|
||||
config = function()
|
||||
vim.cmd("TSUpdate")
|
||||
end,
|
||||
function()
|
||||
require('nvim-treesitter.configs').setup {
|
||||
require("nvim-treesitter.configs").setup {
|
||||
-- good default parsers
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "markdown",
|
||||
"markdown_inline", "java", "bash", "css", "html", "luadoc",
|
||||
@ -25,7 +25,7 @@ return { 'nvim-treesitter/nvim-treesitter',
|
||||
enable = true,
|
||||
|
||||
disable = function(lang, _)
|
||||
-- disable indenting in php (it's more broken with than without)
|
||||
-- disable indenting in php (it"s more broken with than without)
|
||||
return table.contains(({
|
||||
"php"
|
||||
}), lang)
|
||||
@ -39,7 +39,7 @@ return { 'nvim-treesitter/nvim-treesitter',
|
||||
additional_vim_regex_highlighting = true,
|
||||
|
||||
disable = function(lang, buf)
|
||||
-- disable in some files where vim's builtin highlighting is better
|
||||
-- disable in some files where vim"s builtin highlighting is better
|
||||
if table.contains(({
|
||||
"diff", "tex"
|
||||
}), lang) then
|
||||
|
Reference in New Issue
Block a user