diff options
Diffstat (limited to 'lua/conf/plugins/treesitter.lua')
-rw-r--r-- | lua/conf/plugins/treesitter.lua | 8 |
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 |