roxma / ncm-elm-oracle

elm-oracle source for nvim-completion-manager
1 stars 1 forks source link

[feature] port to ncm2 #2

Open megalithic opened 6 years ago

megalithic commented 6 years ago

@roxma i'd love to tackle migrating this to ncm2; do you have any recommendations or links to best practices to doing that? maybe you've documented somewhere on ncm2 and i'm just not finding it, but would love a little direction.

thanks!

roxma commented 6 years ago

Unfortunately ncm2 has longer boilerplate for sources

Currently the best option is to use an existing plugin as a start, for example: https://github.com/ncm2/ncm2-racer

The entry point of the plugin is https://github.com/ncm2/ncm2-racer/blob/master/ncm2-plugin/ncm2_racer.vim

megalithic commented 6 years ago

thanks @roxma!