Closed dakyskye closed 4 years ago
How do you install coc-yaml
?
@fannheyward I added it to coc_global_extensions variable.
let g:coc_global_extensions = [
\ 'coc-yaml'
\ ]
then coc installed it itself.
Does ~/.config/coc/extensions/node_modules/coc-yaml/node_modules/yaml-language-server/out/server/src/server.js
exists?
No. coc-yaml
got no node_modules
.
Try :CocInstall coc-yaml
There is yarn-error.log
file though. Let me upload it quickly.
Oh yeah, it started installing coc-yaml.
It installed coc-yaml, but the result is even worse.
Can't reproduce this. What's your :CocInfo
and :CocOpenLog
?
:CocInfo
## versions
vim version: NVIM v0.4.3
node version: v13.12.0
coc.nvim version: 0.0.77-817efd5108
term: xterm-termite
platform: linux
## Output channel: git
Looking for git in: git
> git rev-parse --show-toplevel
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Error 128 on: 'git rev-parse --show-toplevel' in /home/dakyskye/.config/bspwm
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
## Output channel: snippets
[Info 2:04:15 PM] Using ultisnips directories: UltiSnips /home/dakyskye/.config/coc/ultisnips
[Info 2:04:15 PM] Using ultisnips python command: pyx
## Output channel: highlight
[Info - 2:04:15 PM] Highlight server running in node v13.12.0
Apparently, I think it started to work.
2020-04-14T14:04:15.126 INFO (pid:13756) [services] - registered service "highlight server"
2020-04-14T14:04:15.164 INFO (pid:13756) [services] - registered service "yaml server"
2020-04-14T14:04:15.165 INFO (pid:13756) [services] - yaml server state change: stopped => starting
2020-04-14T14:04:15.169 INFO (pid:13756) [language-client-index] - highlight started with 13772
2020-04-14T14:04:15.175 INFO (pid:13756) [language-client-index] - yaml started with 13773
2020-04-14T14:04:15.179 INFO (pid:13756) [plugin] - coc 0.0.77-817efd5108 initialized with node: v13.12.0
2020-04-14T14:04:15.327 INFO (pid:13756) [services] - yaml server state change: starting => running
2020-04-14T14:04:15.331 INFO (pid:13756) [services] - service yaml server started
2020-04-14T14:04:22.787 INFO (pid:13756) [completion-complete] - Results from: around
2020-04-14T14:04:23.075 INFO (pid:13756) [completion-complete] - Results from: around
2020-04-14T14:04:23.283 INFO (pid:13756) [completion-complete] - Results from: around
Yes, it has started to work.
OK, I'll close this issue as it has been solved.
I installed both:
coc-yaml
extension andyaml-language-server
(with yarn global add), but it says: