You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Firstly vim-pipe is awesome! It is super useful for all of my development.
The only issue I am having is in trying to use ftplugin directory to manage my b:vimpipe_command.
It tends to work well in everything but my markdown files. Here are the relevant files:
Now when I load my README.md file I would expect b:vimpipe_command to be "multimarkdown | lynx -dump -stdin" but it is actually just "lynx -dump -stdin" and that is what is run. I commented out the line in my html and it works fine then.
I have checked and ":set filetype" returns markdown as expected.
The text was updated successfully, but these errors were encountered:
This is being caused by Vim's markdown plugin which is including the html plugin at the start. You can view it by opening $VIMRUNTIME/ftplugin/markdown.vim.
I was able to work around this by adding the following lines in ftplugin/html.vim just before setting the vimpipe_command variable.
Hello,
Firstly vim-pipe is awesome! It is super useful for all of my development.
The only issue I am having is in trying to use ftplugin directory to manage my b:vimpipe_command.
It tends to work well in everything but my markdown files. Here are the relevant files:
ftplugin/html.vim
ftplugin/markdown.vim
Now when I load my README.md file I would expect
b:vimpipe_command
to be "multimarkdown | lynx -dump -stdin" but it is actually just "lynx -dump -stdin" and that is what is run. I commented out the line in my html and it works fine then.I have checked and ":set filetype" returns markdown as expected.
The text was updated successfully, but these errors were encountered: