diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt index 73c1b01..6e15d2f 100644 --- 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 index a623350..10edf20 100644 --- 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