Code Monkey home page Code Monkey logo

Comments (13)

fannheyward avatar fannheyward commented on August 11, 2024

How do you install coc-yaml?

from coc-yaml.

dakyskye avatar dakyskye commented on August 11, 2024

@fannheyward I added it to coc_global_extensions variable.

let g:coc_global_extensions = [
	\ 'coc-yaml'
\ ]

then coc installed it itself.

from coc-yaml.

fannheyward avatar fannheyward commented on August 11, 2024

Does ~/.config/coc/extensions/node_modules/coc-yaml/node_modules/yaml-language-server/out/server/src/server.js exists?

from coc-yaml.

dakyskye avatar dakyskye commented on August 11, 2024

No. coc-yaml got no node_modules.

from coc-yaml.

fannheyward avatar fannheyward commented on August 11, 2024

Try :CocInstall coc-yaml

from coc-yaml.

dakyskye avatar dakyskye commented on August 11, 2024

There is yarn-error.log file though. Let me upload it quickly.

from coc-yaml.

dakyskye avatar dakyskye commented on August 11, 2024

Oh yeah, it started installing coc-yaml.

from coc-yaml.

dakyskye avatar dakyskye commented on August 11, 2024

It installed coc-yaml, but the result is even worse.
image

from coc-yaml.

fannheyward avatar fannheyward commented on August 11, 2024

Can't reproduce this. What's your :CocInfo and :CocOpenLog?

from coc-yaml.

dakyskye avatar dakyskye commented on August 11, 2024

: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

from coc-yaml.

dakyskye avatar dakyskye commented on August 11, 2024

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

from coc-yaml.

fannheyward avatar fannheyward commented on August 11, 2024

Yes, it has started to work.

from coc-yaml.

dakyskye avatar dakyskye commented on August 11, 2024

OK, I'll close this issue as it has been solved.

from coc-yaml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.