[neovim/vim] ncm2/ncm2-d autocompletion source for d

viniarck viniarck at gmail.com
Sat Dec 29 19:49:12 UTC 2018


On Friday, 28 December 2018 at 23:42:20 UTC, David wrote:
> 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 
> ...

I'm glad you sorted it out, David. If you need further help just 
file an issue.



More information about the Digitalmars-d-announce mailing list