Nvim treesitter: add missing configuration parameters

This commit is contained in:
Marko Korhonen 2023-09-21 15:39:04 +03:00
parent b3fcfdb3e8
commit 1cf475d7ee
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -2,12 +2,12 @@ return function()
require("nvim-treesitter.configs").setup({
ensure_installed = {
"bash",
"c",
"css",
"dockerfile",
"html",
"http",
"java",
"javascript",
"json",
"json5",
"latex",
@ -16,20 +16,22 @@ return function()
"markdown",
"php",
"python",
"regex",
"rasi",
"regex",
"rst",
"scss",
"toml",
"tsx",
"typescript",
"javascript",
"yaml",
},
highlight = { enable = true },
indent = { enable = true },
incremental_selection = { enable = true },
context_commentstring = { enable = true },
sync_install = true,
ignore_install = {},
auto_install = true,
})
-- vim.wo.foldmethod = 'expr'