plugins.treesitter.settings.highlight.enable
Whether to enable treesitter highlighting.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.treesitter.settings.highlight.additional_vim_regex_highlighting
Setting this to true will run syntax
and tree-sitter at the same time.
Set this to true
if you depend on ‘syntax’ being enabled (e.g. for indentation).
See :h syntax
.
Using this option may slow down your editor, and you may see some duplicate highlights.
Instead of true, it can also be a list of languages.
Type: null or boolean or list of (string or raw lua code) or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.treesitter.settings.highlight.custom_captures
Custom capture group highlighting.
Type: null or (attribute set of (string or raw lua code))
Default:
null
Plugin default: { }
Declared by:
plugins.treesitter.settings.highlight.disable
Can either be a list of the names of parsers you wish to disable or a lua function that returns a boolean indicating the parser should be disabled.
Type: null or lua function string or list of (string or raw lua code)
Default:
null
Plugin default: null
Declared by: