mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
update calendar highlights
This commit is contained in:
12
README.md
12
README.md
@@ -41,11 +41,11 @@ not only for writing code.
|
||||
This is the result of my first days of hacking neovim with lua (more features have been added since, see
|
||||
[Use it](#2-use-it) below the screenshots):
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
## Search-based navigation
|
||||
|
||||
@@ -281,6 +281,8 @@ Telekasten.nvim allows you to color your `[[links]]` by providing two syntax gro
|
||||
The last one, `tkHighlight`, has nothing to do with links but I added it anyway, since I like highlighting text when
|
||||
taking notes 😄.
|
||||
|
||||
I also like the navigation buttons of the calendar to appear less prevalent, so I also redefine the `CalNavi` class.
|
||||
|
||||
You can assign colors to the new syntax groups in your `init.vim`:
|
||||
|
||||
```vim
|
||||
@@ -295,6 +297,9 @@ hi tkBrackets ctermfg=gray
|
||||
|
||||
" highlight ==highlighted== text
|
||||
hi tkHighlight ctermbg=yellow ctermfg=darkred cterm=bold
|
||||
|
||||
" for calendar, I prefer less prevalent navigation buttons
|
||||
hi link CalNavi CalRuler
|
||||
```
|
||||
|
||||
## 1. Get Help
|
||||
@@ -555,6 +560,9 @@ hi tkBrackets ctermfg=gray
|
||||
|
||||
" highlight ==highlighted== text
|
||||
hi tkHighlight ctermbg=yellow ctermfg=darkred cterm=bold
|
||||
|
||||
" for calendar, I prefer less prevalent navigation buttons
|
||||
hi link CalNavi CalRuler
|
||||
```
|
||||
|
||||
## 4. The hardcoded stuff
|
||||
|
||||
Reference in New Issue
Block a user