mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
docs(readme): remove ambiguous comment (#4321)
I've seen many people, including myself, being confused about `highlight { enable = false }` disabling the whole extension. It means it will disable highlighting, but people get it wrong thinking that they can't use textobjects or any other treesitter related stuff.
This commit is contained in:
parent
160091db4c
commit
73559e3793
1 changed files with 0 additions and 1 deletions
|
|
@ -120,7 +120,6 @@ require'nvim-treesitter.configs'.setup {
|
|||
-- parser_install_dir = "/some/path/to/store/parsers", -- Remember to run vim.opt.runtimepath:append("/some/path/to/store/parsers")!
|
||||
|
||||
highlight = {
|
||||
-- `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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue