From 831be7f09702ee7e72b02d0f84254770899e4dfd Mon Sep 17 00:00:00 2001 From: Martin Kunz Date: Sat, 19 Mar 2022 10:14:23 +0100 Subject: edit(readme): note about the configuration filetypes --- README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 999e6eb99..73eb2a8ce 100644 --- a/README.md +++ b/README.md @@ -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" }, -- cgit v1.2.3-70-g09d2