From de2fa5327a566c16cdf85984f3c4fff7aafecc97 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 16 Oct 2022 15:58:50 +0200 Subject: fix(readme): update highlight instructions --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3b0bda0e..28ffd55a 100644 --- a/README.md +++ b/README.md @@ -331,17 +331,22 @@ require'nvim-treesitter.configs'.setup { } ``` -You can add custom highlight captures with: +To customize the syntax highlighting of a capture, simply define or link a highlight group of the same name: -```vim -lua <