Issue
I am currently in the process of developing a 3D web application using three.js
.
For my development environment, I have opted to use neovim
and YouCompleteMe
for code completion.
To enable JavaScript completion, I have installed tern and created a .tern-project
file with the following configuration:
{
"libs": [
"browser",
"ecmascript",
],
"loadEagerly": [
],
"plugins": {
"threejs": {}
}
}
I have also included threejs.js
and threejs.json
in my project directory, as recommended by tern-threejs.
However, despite these configurations, YouCompleteMe is not providing semantic completion as demonstrated in tern-threejs's codemirror.
Comparison:
codemirror:
https://i.sstatic.net/KnS2I.png
neovim:
https://i.sstatic.net/8pSzR.png
Note: I am not seeing any completion suggestions at all.
What could be causing this issue?