-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vimwiki / markdown conflict #479
Comments
+1 |
1 similar comment
+1 |
I contacted Vimwiki maintainer, if it can't be resolved I'd have to remove the plugin from Janus! |
The easiest solution to this is to change the default setting of the g:vimwiki_ext2syntax variable in your .vimrc (or Janus could make this the default) as follows: let g:vimwiki_ext2syntax = {} The default value of g:vimwiki_ext2syntax = {'.md': 'markdown'}. This setting tells vimwiki to recognize files with a ".md" extension, overriding previous filetype associations. See ":help vimwiki_ext2syntax". |
+1 |
Vimwiki's dev branch http://code.google.com/p/vimwiki/source/checkout let g:vimwiki_ext2syntax = {} |
Note that if you want to use vimwiki in markdown mode (I great idea, IMO), you can have it all work via:
I don't know why the fix wasn't to use the path to detect vimwiki files rather than break vimwiki for markdown users, but this will set things right. |
I just installed janus on a new machine and copied over my prev rc files and custom plugins. I noticed that my markdown files had different syntax and additionally my tab completion and snipmate wasn't working.
When I checked the filetype, it said vimwiki. I could force the filetype to markdown and get my sytax back, but not my tab completion or snipmate.
I tried removing my .janus dir and .vimrc.before/after, but still got the same issue.
If I disable vimwiki
call janus#disable_plugin('vimwiki')
everything works as expected: syntax, snipmate and tab completion.The text was updated successfully, but these errors were encountered: