Saturday, March 12, 2016

Re: xolox/vim-notes and YouCompleteMe

On Saturday, March 12, 2016 at 5:09:53 AM UTC-5, Richard Mitchell wrote:
> On Tuesday, March 8, 2016 at 8:16:45 AM UTC-5, Richard Mitchell wrote:
> > YouCompleteMe seems to work for unknown file types by just expanding words previously entered in the file, but it doesn't (for me) do that with a notes file.
> >
> > I would like to have YCM pop-up words for matches in my current (or any, if being greedy) notes file.
> >
> > I've looked through the docs for both, but I'm obviously missing the critical piece of information.
>
> Is there a reason YCM and xolox/vim-notes don't work together?

Ok, so there is - right there in the docs:

" Some plugins (I'm looking at you, vim-notes) change completeopt by for
" instance adding 'longest'. This breaks YCM. So we force our settings.
" There's no two ways about this: if you want to use YCM then you have to
" have these completeopt settings, otherwise YCM won't work at all.

Is this fixable in vim-notes or are these two forever incompatible?

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment