Coder Social home page Coder Social logo

Comments (3)

fannheyward avatar fannheyward commented on June 2, 2024

coc#config sets/overrides the configurations, but this API won't write to global/local coc-settings.json.

from coc.nvim.

asmodeus812 avatar asmodeus812 commented on June 2, 2024

Yeah i am not saying it should write to global or local json config file, what i was saying is that if was using DirChanged event after doing :tcd, the aucmd callback would trigger call coc#config but the language server would still be out of sync and was still using the previous workspace local settings, however using BufEnter, then navigating between the two buffers from the two workspaces, the aucmd would trigger do a coc#config of the workspace local configs and it then works, the server's config is correctly picked up from the buffer's current root workspace of the current buffer. What is the deal with DirChanged ? Is it too early of an event to use in this case ?

from coc.nvim.

fannheyward avatar fannheyward commented on June 2, 2024

What is the deal with DirChanged

Have no idea about this, sorry

from coc.nvim.

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.