diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-07-12 14:51:11 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-07-13 22:04:24 +0200 |
| commit | 97ad374816726661c3e5447fafd46264ad00409d (patch) | |
| tree | 24cb5de90e068c260994e10caaece5a849aa8207 /README.md | |
| parent | f803c74ebc1e30ae8d047c087d9b094134a667d5 (diff) | |
Fix #167: Add custom_captures config key to set highlights for custom queries
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -98,6 +98,9 @@ require'nvim-treesitter.configs'.setup { highlight = { enable = true, -- false will disable the whole extension disable = { 'c', 'rust' }, -- list of language that will be disabled + custom_captures = { -- mapping of user defined captures to highlight groups + -- ["foo.bar"] = "Identifier" -- highlight own capture @foo.bar with highlight group "Identifier", see :h nvim-treesitter-query-extensions + }, }, incremental_selection = { enable = true, |
