update readme for coloring

This commit is contained in:
Rene Schallner
2021-11-22 02:51:27 +01:00
parent c82b9629d4
commit bc8776cf9e

View File

@@ -69,6 +69,24 @@ require('telekasten').setup({
END END
``` ```
### 3. Configure your own colors
Telekasten.nvim allows you to color your `[[links]]` by providing two syntax groups:
- tkLink : the link title inside the brackets
- tkBrackets : the brackets surrounding the link title
You can assign colors to them like this in your `init.vim`:
```vimscript
" just blue and gray
hi tkLink ctermfg=Blue cterm=bold,underline
hi tkBrackets ctermfg=gray
" for gruvbox
hi tkLink ctermfg=72 cterm=bold,underline
hi tkBrackets ctermfg=gray
```
## Use it ## Use it