I love the concept of Vimwiki, but have a problem with it overriding the default md syntax highlighting. The default works well, and I use it regularly to edit md documents to be used with pandoc. Vimwiki changes this highlighting even in non-wiki md files, making my documents much harder to read.

Is there a way to use the default syntax highlighting for markdown files, while still being able to use Vimwiki? I tried reading the manual, but have found no such option yet.


  • Please add your vim configuration. Not everything, just the parts related to vimwiki.
    – 3N4N
    Oct 11, 2022 at 18:47

1 Answer 1


This is untested, but you can try the following. Append it to your vimrc.

let g:vimwiki_ext2syntax = {}

Let me know the result.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.