Reputation: 121
i want autocompletions for three.js in nvim , kind of like the autocompletions we get if we open three.js file on a split window on vim [still not good], i searched in coc language plugins list, i cant find a plugin which satisfy my needs.
like,
:spl path/to/three.js
^W ↓
i
this is just recommending random words from the file on the other window,
but what i need is sord of like,
THREE.|
[Scene]
[PerspectiveCamera]
[WebGLRenderer]
[Mesh]
Upvotes: 0
Views: 347
Reputation: 19277
Try "suggest.defaultSortMethod": "none"
in your coc-settings.json, this will use the order from language server, here is tsserver.
Upvotes: 1