Skip to content

Commit b0649b5

Browse files
Remove suggestion for disabling org ts highlights
1 parent 0c645d9 commit b0649b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ require'nvim-treesitter.configs'.setup {
7979
-- If TS highlights are not enabled at all, or disabled via `disable` prop, highlighting will fallback to default Vim syntax highlighting
8080
highlight = {
8181
enable = true,
82-
disable = {'org'}, -- Remove this to use TS highlighter for some of the highlights (Experimental)
83-
additional_vim_regex_highlighting = {'org'}, -- Required since TS highlighter doesn't support all syntax features (conceal)
82+
additional_vim_regex_highlighting = {'org'}, -- Required for spellcheck, some LaTex highlights and code block highlights that do not have ts grammar
8483
},
8584
ensure_installed = {'org'}, -- Or run :TSUpdate org
8685
}
@@ -104,8 +103,7 @@ require'nvim-treesitter.configs'.setup {
104103
-- If TS highlights are not enabled at all, or disabled via `disable` prop, highlighting will fallback to default Vim syntax highlighting
105104
highlight = {
106105
enable = true,
107-
disable = {'org'}, -- Remove this to use TS highlighter for some of the highlights (Experimental)
108-
additional_vim_regex_highlighting = {'org'}, -- Required since TS highlighter doesn't support all syntax features (conceal)
106+
additional_vim_regex_highlighting = {'org'}, -- Required for spellcheck, some LaTex highlights and code block highlights that do not have ts grammar
109107
},
110108
ensure_installed = {'org'}, -- Or run :TSUpdate org
111109
}

0 commit comments

Comments
 (0)