Nvim treesitter: add missing configuration parameters
This commit is contained in:
parent
b3fcfdb3e8
commit
1cf475d7ee
1 changed files with 36 additions and 34 deletions
|
@ -2,12 +2,12 @@ return function()
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"bash",
|
"bash",
|
||||||
"c",
|
|
||||||
"css",
|
"css",
|
||||||
"dockerfile",
|
"dockerfile",
|
||||||
"html",
|
"html",
|
||||||
"http",
|
"http",
|
||||||
"java",
|
"java",
|
||||||
|
"javascript",
|
||||||
"json",
|
"json",
|
||||||
"json5",
|
"json5",
|
||||||
"latex",
|
"latex",
|
||||||
|
@ -16,20 +16,22 @@ return function()
|
||||||
"markdown",
|
"markdown",
|
||||||
"php",
|
"php",
|
||||||
"python",
|
"python",
|
||||||
"regex",
|
|
||||||
"rasi",
|
"rasi",
|
||||||
|
"regex",
|
||||||
"rst",
|
"rst",
|
||||||
"scss",
|
"scss",
|
||||||
"toml",
|
"toml",
|
||||||
"tsx",
|
"tsx",
|
||||||
"typescript",
|
"typescript",
|
||||||
"javascript",
|
|
||||||
"yaml",
|
"yaml",
|
||||||
},
|
},
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
incremental_selection = { enable = true },
|
incremental_selection = { enable = true },
|
||||||
context_commentstring = { enable = true },
|
context_commentstring = { enable = true },
|
||||||
|
sync_install = true,
|
||||||
|
ignore_install = {},
|
||||||
|
auto_install = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- vim.wo.foldmethod = 'expr'
|
-- vim.wo.foldmethod = 'expr'
|
||||||
|
|
Loading…
Reference in a new issue