[neovim/vim] ncm2/ncm2-d autocompletion source for d
David
scherd3113 at gmail.com
Thu Dec 27 21:50:04 UTC 2018
On Wednesday, 26 December 2018 at 00:42:25 UTC, viniarck wrote:
> On Saturday, 22 December 2018 at 13:25:14 UTC, Anton Pastukhov
> wrote:
>> On Tuesday, 18 December 2018 at 22:12:52 UTC, viniarck wrote:
>>> [...]
>>
>> Out of curiosity- what are advantages of ncm2 over deoplete?
>
> Hi Anton,
>
> I'd say:
>
> - Completions are populated asynchronously and in parallel, and
> based on my experience, using deoplete for several months, I
> feel like the feedback of completion you get from ncm2 is more
> instantaneous.
> - Fully integrates with UltiSnips, so you can have snippets
> expansions in the arguments of the completion results, which is
> really nice (you can see this in the GIF of the ncm2-d for
> example, that my cursor jumps over each argument of the
> autocompleted function).
> - It just works. You don't even have to tweak the settings or
> variable of sources to start seeing good results. On the other
> hand, with deoplete you're supposed to tweak a lot of settings,
> matchers and ranks before getting solid results.
> - Integrates nicely with Language servers that you can get
> results from LanguageClient-neovim, for instance.
>
> If you've never tried it out before, it's definitely worth a
> try.
looks nice but the behavior is a bit strange, as it suggest also
functions which are not imported. E.g.
import std.stdio: writeln;
completion for "wri" also brings up "writef" and all other
functions from std.stdio starting with wri ...
More information about the Digitalmars-d-announce
mailing list