ANDuser
ANDuser

Reputation: 121

coc.nvim autocompletion for threejs

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, document autocompletion :spl path/to/three.js
^W ↓
i three js autocompletion 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

Answers (1)

fannheyward
fannheyward

Reputation: 19277

Try "suggest.defaultSortMethod": "none" in your coc-settings.json, this will use the order from language server, here is tsserver.

Upvotes: 1

Related Questions