Skip to content

Commit

Permalink
fix: add missing markup highlights
Browse files Browse the repository at this point in the history
Uses new strikethrough variable, see b5e21ff

Fixes: #117
  • Loading branch information
roosta committed Mar 26, 2024
1 parent c3bca62 commit 7439a86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions after/plugin/srcery.vim
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ let s:italic = g:srcery#palette.italic
let s:underline = g:srcery#palette.underline
let s:undercurl = g:srcery#palette.undercurl
let s:inverse = g:srcery#palette.inverse
let s:strikethrough = g:srcery#palette.strikethrough

" }}}
" Sneak: {{{
Expand Down Expand Up @@ -284,6 +285,11 @@ if has('nvim')
highlight! link @text.uri TSURI
highlight! link @variable TSVariable

call srcery#helper#Highlight('@markup.strong', s:none, s:none, s:bold)
call srcery#helper#Highlight('@markup.italic', s:none, s:none, s:italic)
call srcery#helper#Highlight('@markup.underline', s:none, s:none, s:underline)
call srcery#helper#Highlight('@markup.strikethrough', s:none, s:none, s:strikethrough)

endif
endif

Expand Down

0 comments on commit 7439a86

Please sign in to comment.