feat: add more treesitter languages
This commit is contained in:
parent
4b560280a6
commit
e7f411ac8f
1 changed files with 7 additions and 24 deletions
|
@ -1,26 +1,9 @@
|
|||
require('nvim-treesitter.configs').setup({
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
},
|
||||
ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
"cpp",
|
||||
"html",
|
||||
"javascript",
|
||||
"json",
|
||||
"lua",
|
||||
"markdown",
|
||||
"python",
|
||||
"rust",
|
||||
"svelte",
|
||||
"typescript",
|
||||
"vim",
|
||||
"vue",
|
||||
"yaml",
|
||||
},
|
||||
highlight = {enable = true, additional_vim_regex_highlighting = false},
|
||||
indent = {enable = true},
|
||||
ensure_installed = {
|
||||
"bash", "c", "cpp", "css", "dockerfile", "html", "javascript", "json",
|
||||
"latex", "lua", "markdown", "python", "rust", "svelte", "toml", "tsx",
|
||||
"typescript", "vim", "vue", "yaml"
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue