Comments (19)
@megalithic https://github.com/neovim/node-client need to have a new release.
Sorry for the unconvince.
from coc.nvim.
Could you give more details? Is there a PR that needs to be merged, or is there something specific that they know about that needs to be fixed but haven't documented it anywhere? Are you running a patched version locally? Would love to know more. Thanks so much!
from coc.nvim.
It's already merged neovim/node-client@c1e940b
just need to publish a new release to npm.
from coc.nvim.
BTW, coc currently only have some advanced language support for typescript (more language and LSP support is coming), so it might not fit your requirement.
from coc.nvim.
thanks for the info @chemzqm!
from coc.nvim.
@chemzqm might be worth adding a note to the Troubleshooting
section to mention about the version of the neovim-node-host client needs to be updated past 4.1.0 to work with your plugin, which i still desperately want to try! :)
from coc.nvim.
@chemzqm I was able to complete the post-install process, yay! However, coc.nvim is never able to register with the plugins registry, e.g., it continually says there was a problem initializing and to run :UpdateRemotePlugins
and restart. Running :checkhealth
shows the following for coc.nvim:
health#coc#check
========================================================================
- OK: Environment check passed
- ERROR: service could not be initailized
- ADVICE:
- You may not have neovim package installed correctly,
- check out https://github.com/neovim/node-client#debugging--troubleshooting
and the node-host health check shows:
## Node.js provider (optional)
- INFO: Node.js: v8.11.3
- INFO: Neovim node.js host: /Users/me/.n/bin/neovim-node-host
- OK: Latest "neovim" npm package is installed: 4.2.0
Any thoughts?
from coc.nvim.
Did you run :UpdateRemotePlugins
after npm install
? And what's the result?
from coc.nvim.
@chemzqm yes, repeatedly, with no specific error output, other than seeing that the plugin isn't registered with the node host. I know plugins can register with the node host because if I switch back to deoplete + nvim-typescript; nvim-typescript registers with the node host, and deoplete with the python3 host.
from coc.nvim.
Check your ~/.local/share/nvim/rplugin.vim
, is that coc registered correctly?
According to https://github.com/neovim/node-client#debugging--troubleshooting, you can set NVIM_NODE_LOG_LEVEL
to error
and NVIM_NODE_LOG_FILE
to a log file, and get the output from the log file.
from coc.nvim.
~/.local/share/nvim/rplugin.vim
output:
" node plugins
" python3 plugins
call remote#host#RegisterPlugin('python3', '/Users/me/.dotfiles/nvim/plugged/deoplete.nvim/rplugin/python3/deoplete', [
\ {'sync': v:false, 'name': '_deoplete_init', 'type': 'function', 'opts': {}},
\ ])
" ruby plugins
" python plugins
i'll see if i can't get logging to occur from the link you provided and will report back.
from coc.nvim.
Looks like coc is not registed, the output of :UpdateRemotePlugins
should contains:
from coc.nvim.
Exactly! However, we don't know why it's not able to register. I'm not getting any logging from your plugin or from the node client either. Are you able to remove your plugin completely and reinstall from GitHub without issues?
from coc.nvim.
@megalithic just tried using [email protected] from npm, no issue found.
from coc.nvim.
There should be something in your log file, try set environment variable NVIM_NODE_LOG_LEVEL
to debug
from coc.nvim.
thanks for your help @chemzqm, i'll keep trying and report back once i have more information. :/
from coc.nvim.
I got the reason, I can fix that.
from coc.nvim.
oh excellent! thanks so much!
from coc.nvim.
To avoid https://github.com/sourcegraph/javascript-typescript-langserver get high CPU usage, I add rplugin
folder to my .gitignore
and forget to remove that.
from coc.nvim.
Related Issues (20)
- coc-rename - moves the cursor to the start of the first line HOT 9
- Hola Mundo
- 同时打开多个lsp时,会让rust-analyzer中断 HOT 5
- Error when installing on termux (Android) HOT 1
- 有什么配置可以让光标快速从括号里移动到右括号后吗?
- Coc API
- Is modifying current workspace available? HOT 3
- How to select an item HOT 5
- using singularity environment for R languageserver
- Move across symbol usage highlights HOT 1
- Extend CocDiagnostics or fillDiagnostics to work with CocList HOT 6
- Coc not updating workspace configuration
- Coc not updating user workspace folder config on demand HOT 3
- Some CoC extension features doesn't work when there's a space in the home directory on Windows HOT 1
- Keybindings when renaming
- 请问能够默认包含头文件和 自定义宏 进行检测, 不需要通过 #include 包含这个头文件
- Unable to correctly select the first parameter of the function HOT 4
- Is it able to open multiple list window. HOT 1
- List not work after some operation HOT 5
- client coc abnormal exit with: 4 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc.nvim.