From bc8776cf9e5717720b00c9b620bffba280b0040c Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Mon, 22 Nov 2021 02:51:27 +0100 Subject: [PATCH] update readme for coloring --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index a807315..a0b236f 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,24 @@ require('telekasten').setup({ 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