add rust to treesitter as a default installed language

This commit is contained in:
JesseBot 2024-07-20 12:15:22 +02:00
parent def3c5421b
commit 3517a09789
No known key found for this signature in database

View file

@ -2,13 +2,14 @@ require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" -- A list of parser names, or "all"
ensure_installed = { ensure_installed = {
"bash", "bash",
"css",
"dockerfile", "dockerfile",
"hcl", "hcl",
"html",
"markdown", "markdown",
"markdown_inline", "markdown_inline",
"html",
"css",
"python", "python",
"rust",
"terraform", "terraform",
"toml", "toml",
"yaml", "yaml",
@ -27,8 +28,8 @@ require'nvim-treesitter.configs'.setup {
highlight = { highlight = {
enable = true, enable = true,
-- NOTE: these're names of parsers and NOT the filetype. -- NOTE: these're names of parsers and NOT the filetype.
-- e.g. disable highlighting for the `tex` filetype, you need to include -- e.g. disable highlighting for the `tex` filetype, you need to include
-- `latex` in this list as this is the name of the parser) -- `latex` in this list as this is the name of the parser)
-- list of language that will be disabled -- list of language that will be disabled
-- disable = { "toml"}, -- disable = { "toml"},