mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
update readme for coloring
This commit is contained in:
18
README.md
18
README.md
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user