Giter VIP home page Giter VIP logo

Comments (3)

nwolverson avatar nwolverson commented on July 21, 2024 2

Well, that does say pass config or send config on starting, so I presume either the vim stuff is now sending config or I changed something, we should figure that out.

Basically there is some config that is only read once at startup, and there is a mechanism in the LSP to send config, vscode always sent this at the start so we waited for that to be sent before proceeding, unless it was passed on the command line.

Would be good to reevaluate this.

Regarding the actual content, the possible values are basically here https://github.com/nwolverson/vscode-ide-purescript/blob/master/package.json#L77 but it would definitely be useful to have an example of what this looks like in JSON. The only config I could confidently give from memory is this one: {} 😄

from purescript-language-server.

andykog avatar andykog commented on July 21, 2024

Managed to get it working, turned out this flag is optional. So the following paragraph is a bit misleading (I'd replace should -> may):

Currently you should pass a --config flag followed by a JSON object, or immediately send config on starting the server in the same way VS Code does - this should improve in future

from purescript-language-server.

andykog avatar andykog commented on July 21, 2024

Thanks for your explanation! Please reopen this issue if needed

from purescript-language-server.

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.