On Jun 7, 11:56 am, Ben Fritz <[email protected]> wrote:
> On Thursday, June 7, 2012 10:19:22 AM UTC-5, Peng Yu wrote:
> > Hi,
>
> > I have the following plugins installed.
>
> > <http://bla.bla>
>
> > If I complete the last '>' at the end of the above line in a .mkd
> > file, I will get the following completion.
>
> > <http://bla.bla></http://bla.bla>
>
> What were you expecting to get? Why? What command did you use to start
> completion?
>
>
>
> > It is confirmed that this is not due to the vim-pandoc plugin.
>
> >https://github.com/vim-pandoc/vim-pandoc/issues/56#issuecomment-6169052
>
> > And the problem still exists when I removed the link bundle/html5.vim,
> > so the problem is not caused by autoload/htmlcomplete.vim in bundle-
> > available/htm5.vim.
>
> > Does anybody have any idea on how to debug what causes the problem?
>
> First check:
>
> :verbose set completefunc? omnifunc? complete?
>
> (depending on which kind of completion you tried to use, these options may
> affect it)
>
> If that doesn't show you anything worthwhile, do a binary search for the
> offending plugin. First remove half your plugins from your runtime path. If
> the problem persists, remove half the remainder and try again. If the problem
> goes away, choose the half you discarded and try again. Continue until you
> have only 1 plugin left.
The offending file ftplugin/html.vim. If I remove it, there is no
completion.
It is strange to me although the file name is html.vim why it has
effect on *.mkd files. The following are all the files that has the
word 'mkd'. I don't see why html is associated with mkd. Could anybody
let me know what else I should check?
~/.vim$ ackvim.sh -b mkd
bundle-available/vim-pandoc/ftdetect/pandoc.vim
1: au BufNewFile,BufRead
*.markdown,*.md,*.mkd,*.pd,*.pdk,*.pandoc,*.text set filetype=pandoc
ftdetect/markdown.vim
2:autocmd BufNewFile,BufRead *.{mmd,md,mkd,mkdn,mark*} set
filetype=markdown
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php