summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/treesitter.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2025-05-06 16:51:24 -0500
committerSquibid <me@zacharyscheiman.com>2025-05-06 16:51:24 -0500
commit7c3289fded1f75f6e060f56bd06edc2a327744d9 (patch)
treebf579e6eb1de84237a74ef13ce67703c15266afe /lua/conf/plugins/treesitter.lua
parent3094bf2a3983b375f4adeccd25c3b12bbbded2aa (diff)
downloadnvim-7c3289fded1f75f6e060f56bd06edc2a327744d9.tar.gz
nvim-7c3289fded1f75f6e060f56bd06edc2a327744d9.tar.bz2
nvim-7c3289fded1f75f6e060f56bd06edc2a327744d9.zip
kitchen sink again :(
Diffstat (limited to '')
-rw-r--r--lua/conf/plugins/treesitter.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/conf/plugins/treesitter.lua b/lua/conf/plugins/treesitter.lua
index b18ae49..d9607e3 100644
--- a/lua/conf/plugins/treesitter.lua
+++ b/lua/conf/plugins/treesitter.lua
@@ -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