coc.nvim autocompletion for threejs

286 Views Asked by At

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]
1

There are 1 best solutions below

0
On BEST ANSWER

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