2

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.

Thanks!

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

1 Answer 1

0

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 that you have read and understand our privacy policy and code of conduct.

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