[neovim/vim] ncm2/ncm2-d autocompletion source for d
David
scherd3113 at gmail.com
Fri Dec 28 23:42:20 UTC 2018
On Friday, 28 December 2018 at 12:41:27 UTC, David wrote:
> On Thursday, 27 December 2018 at 21:50:04 UTC, David wrote:
>
> sorry - I was wrong! It works as expected :-) - very nice! It
> probably conflicted with deoplete (or something else) which may
> still have been in the cache ...
>
> Now, I am wondering how I can trigger "completion" for the
> signature which doesn't pop up
got it :-) The caveat is that also using ncm2-ultisnips
inoremap <silent> <expr> <CR>
ncm2_ultisnips#expand_or("\<CR>", 'n')
needs to be set after
inoremap <expr> <CR> (pumvisible() ? "\<c-y>\<cr>" : "\<CR>")
which was a bit random in my case with lazily loading plugins ...
More information about the Digitalmars-d-announce
mailing list