mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
edit(readme): note about the configuration filetypes
This commit is contained in:
parent
fd92e70c69
commit
831be7f097
1 changed files with 3 additions and 0 deletions
|
|
@ -116,6 +116,9 @@ require'nvim-treesitter.configs'.setup {
|
|||
-- `false` will disable the whole extension
|
||||
enable = true,
|
||||
|
||||
-- NOTE: these are the names of the parsers and not the filetype. (for example if you want to
|
||||
disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is
|
||||
the name of the parser)
|
||||
-- list of language that will be disabled
|
||||
disable = { "c", "rust" },
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue