Skip to content

Commit

Permalink
feat(ts): markup italic and strikethrough in nvim 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineco committed Mar 23, 2024
1 parent 4c7fef2 commit a0f744c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion colors/everforest.vim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
let s:configuration = everforest#get_configuration()
let s:palette = everforest#get_palette(s:configuration.background, s:configuration.colors_override)
let s:path = expand('<sfile>:p') " the path of this script
let s:last_modified = 'Sat Feb 10 11:08:08 AM UTC 2024'
let s:last_modified = 'Sat Mar 23 12:27:46 PM UTC 2024'
let g:everforest_loaded_file_types = []

if !(exists('g:colors_name') && g:colors_name ==# 'everforest' && s:configuration.better_performance)
Expand Down Expand Up @@ -1747,6 +1747,10 @@ if has('nvim-0.8.0')
highlight! link @markup.heading.4.marker.markdown @conceal
highlight! link @markup.heading.5.marker.markdown @conceal
highlight! link @markup.heading.6.marker.markdown @conceal
if !has('nvim-0.10')
call everforest#highlight('@markup.italic', s:palette.none, s:palette.none, 'italic')
call everforest#highlight('@markup.strikethrough', s:palette.none, s:palette.none, 'strikethrough')
endif
endif
" }}}
" syn_end }}}
Expand Down

0 comments on commit a0f744c

Please sign in to comment.