commit 523986df4b06028c00f9ba564fececc80aadbfce
parent 48baa1f4cd1bb4963e28c9bef2135feac5a81b4f
Author: Amit Beka <amitbeka@users.noreply.github.com>
Date: Sun, 15 Nov 2020 14:21:41 +0200
enable strikethrough for Neovim (#1054)
Neovim has a different method of marking applied patches, using neovim
versions, since patches from Vim are not merged by chronological order.
Signed-off-by: Amit Beka <--->
Co-authored-by: Amit Beka <--->
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt
@@ -3895,6 +3895,7 @@ Changed:~
Removed:~
Fixed:~
+ * Enable strikethrough for Neovim
* Issue #1029: Fix: error loading plugin when lang uses comma instead of
dot as decimal separator
* Issue #886: :VimwikiGenerateLinks not working on Windows
diff --git a/syntax/vimwiki.vim b/syntax/vimwiki.vim
@@ -437,7 +437,7 @@ hi def link VimwikiTag Keyword
" Deleted called strikethrough
" See $VIMRUTIME/syntax/html.vim
-if v:version > 800 || v:version == 800 && has('patch1038')
+if v:version > 800 || (v:version == 800 && has('patch1038')) || has('nvim-0.4.3')
hi def VimwikiDelText term=strikethrough cterm=strikethrough gui=strikethrough
else
hi def link VimwikiDelText Constant