Code-assist, auto-complete, code completion: API or guide for language packages


To provide better code completion for languages I think an API or guide would help. This package provided better completion for javascript: One could use this as a guide. Another alternative is to provide an API, vim have complete({startcol}, {matches}) doc for this.

How can we help you write packages?