neoclide / coc-yaml

Yaml language server extension for coc.nvim
MIT License
248 stars 23 forks source link

Error for coc-yaml #14

Closed YangKian closed 4 years ago

YangKian commented 4 years ago

I install the coc-yaml extention, but when I want to add any field about yaml, such as yaml.trace.server , I get the following error:

QQ截图20200319214011

The CocInfo is:

vim version: NVIM v0.4.3 node version: v12.15.0 coc.nvim version: 0.0.77-b7a597f7ae term: xterm-256color platform: linux

and my CocConfig file is: QQ图片20200319214153

try to see a CocOpenLog: QQ截图20200319214348

Have tried to uninstall the coc-yaml, uninstall coc-neovim and reinstall them, but none of these worked. So anything I can do to fix this?

aca commented 4 years ago

@YangKian You have to set yaml~ settings outside languageserver block. I made the same mistake. I don't remember where did I copied it. Someone obviously post the wrong sample configuration.

YangKian commented 4 years ago

@aca You're right, it works for me now (:з」∠) Thanks a lot!