Set Bold, Italic and Strike styles
dblume

dblume commited on 2024-04-05 10:05:00
Showing 1 changed files, with 6 additions and 1 deletions.


First noticed in MarkDown documents.

vim's desert was displaying Bold as (literally) bold, but neovim wasn't
displaying Bold Italic or Strike as anything.

Maybe I could fix this with tweaking env TERM or something (I'm only
testing this in a tmux session), but for now just make explicit styles.
... ...
@@ -1,7 +1,7 @@
1 1
 " Some override of the neovim desert theme from the old vim one.
2 2
 runtime colors/desert.vim
3 3
 
4
-hi Normal       ctermbg=233 ctermfg=254
4
+hi Normal       ctermbg=233 ctermfg=252
5 5
 hi EndOfBuffer  ctermbg=234
6 6
 
7 7
 "hi Constant     ctermfg=172
... ...
@@ -22,6 +22,11 @@ hi statusline   cterm=bold,reverse ctermfg=23 ctermbg=250  " override scheme
22 22
 hi statuslineNC cterm=reverse ctermfg=238 ctermbg=Gray  " override scheme
23 23
 hi MatchParen   term=reverse ctermbg=23  " 23 is more subtle than default
24 24
 
25
+hi htmlItalic   term=italic cterm=italic ctermbg=62 gui=italic
26
+hi htmlBold     term=bold cterm=bold ctermbg=237 gui=bold
27
+hi htmlBoldItalic term=bold cterm=bold ctermbg=52 gui=bold
28
+hi htmlStrike   ctermfg=248 ctermbg=236
29
+
25 30
 hi MyTagListTagName ctermbg=25
26 31
 
27 32
 "vim: sw=4
28 33