Giter Club home page Giter Club logo

Comments (10)

esn89 avatar esn89 commented on September 23, 2024 1

@karambaq Hi. You're welcome, here is my coc-settings.json. https://pastebin.com/x4Tfw7cZ

from coc-python.

chemzqm avatar chemzqm commented on September 23, 2024

Should be failed to load the extension, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-coc.nvim for log.

from coc-python.

esn89 avatar esn89 commented on September 23, 2024

Yes, you're correct, it did fail to load the extension. I have followed your advice and set the:
export NVIM_COC_LOG_LEVEL=debug
Thank you for showing me. Now I found the log:
pastebin log

All the language servers themselves loaded, even MPLS, but I do not see any word of python.

PS:

I reinstalled :CocInstall coc-python and now the coc-nvim.log shows an extra error:

    at /Users/esn89/.config/coc/extensions/node_modules/inversify/lib/annotation/injectable.js:7:21
    at Object.__decorate (/Users/esn89/.config/coc/extensions/node_modules/tslib/tslib.js:90:99)
    at Object.<anonymous> (/Users/esn89/.config/coc/extensions/node_modules/coc-python/lib/common/utils/random.js:25:18)
    at Module._compile (/snapshot/coc.nvim/lib/util/factory.js:67:32)
    at Object.Module._extensions..js (module.js:644:10)
    at Module.load (module.js:552:32)
    at tryModuleLoad (module.js:495:12)
    at Function.Module._load (module.js:487:3)
    at Module.require (module.js:577:17)
    at Module.require (pkg/prelude/bootstrap.js:1159:31)

And under my neovim statusline, it shows this:
problem

from coc-python.

chemzqm avatar chemzqm commented on September 23, 2024

/snapshot/coc.nvim/lib/util/factory.js:67:32)
means you're using binary release.

from coc-python.

esn89 avatar esn89 commented on September 23, 2024

So I need which version of coc.nvim? Or is it the wrong version of coc-python?

from coc-python.

chemzqm avatar chemzqm commented on September 23, 2024

Use master https://github.com/neoclide/coc.nvim/wiki/F.A.Q#how-to-use-cocnvim-from-master-branch

from coc-python.

esn89 avatar esn89 commented on September 23, 2024

Thank you, you are amazing, @chemzqm. It works!

from coc-python.

karambaq avatar karambaq commented on September 23, 2024

@esn89 Sorry for the offtop, but can you share your vim config? It looks beautiful.

from coc-python.

esn89 avatar esn89 commented on September 23, 2024

Sure, here is: https://we.tl/t-9aBExghbIM it is a zip containing my .vim files.
If you are interested in the statusline it is also there, but you need a patched font here: https://github.com/ryanoasis/nerd-fonts namely the powerline and fontawesome

from coc-python.

karambaq avatar karambaq commented on September 23, 2024

@esn89 Great, thank you a lot! And also can you please share your coc-settings.json? I really like those icons and have troubles with setting up python LS. Thank in advance!

from coc-python.

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.