From 41d32e785bd1ce438a1cebbf8ffc2aee95cf570d Mon Sep 17 00:00:00 2001 From: Daniel Berg Date: Tue, 26 Mar 2024 09:11:05 +0100 Subject: [PATCH] fix: add missing markup highlights Uses new strikethrough variable, see b5e21ff Fixes: #117 --- after/plugin/srcery.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/after/plugin/srcery.vim b/after/plugin/srcery.vim index 6037fd6..584b849 100644 --- a/after/plugin/srcery.vim +++ b/after/plugin/srcery.vim @@ -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: {{{ @@ -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