mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
add rust to treesitter as a default installed language
This commit is contained in:
parent
def3c5421b
commit
3517a09789
1 changed files with 5 additions and 4 deletions
|
@ -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"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue