Giter Site home page Giter Site logo

Comments (4)

glepnir avatar glepnir commented on June 20, 2024

it outside of the root then it run in single file mode what's the problem ?

from nvim-lspconfig.

stasjok avatar stasjok commented on June 20, 2024

it outside of the root then it run in single file mode what's the problem ?

Client itself is not outside of the root dir, but it's wrongly reported as such. The problem is wrong info reported by LspInfo. Maybe a screenshot would help to understand what's the problem?

image

All those servers are not running in single file mode. They all have its own root_dir. So it's strange to report it like this.

Compare it to this:

image

I just switched buffer, nothing else changed. Now lua_ls is reported as single file mode, but for nil_ls root directory is displayed correctly.

Checkhealth (all clients has root_dir):

vim.lsp: Active Clients ~
- nil_ls (id=1, root_dir=/nix/store/dpplx09mq0jpkm8b149xjc1brpky7503-source, attached_to=[1,280])
- nil_ls (id=2, root_dir=/nix/store/7v74bj8chscad3xcb03bvi474q9mv2g0-source, attached_to=[297,540,569,324,266,37])
- null-ls (id=4, root_dir=/nix/store/lqdsr7qjrzm1q20zxiwlv5nhv2ap4a0s-vimplugin-nvim-lspconfig-2024-05-16, attached_to=[783,586,211,806,640,637])
- nil_ls (id=6, root_dir=/nix/store/zyzhqfys86byv201frlpiyipzzw38p02-source/lib, attached_to=[554])
- lua_ls (id=7, root_dir=/nix/store/mv069f2y146dpijxgnwd5nddjv9qkcci-neovim-patched-0.10.1-dev/share/nvim/runtime, attached_to=[783,586,211,806,640,637])

from nvim-lspconfig.

glepnir avatar glepnir commented on June 20, 2024

I remeber there has a problem after i add workspace relate stuff see #2648 I will check it later.

from nvim-lspconfig.

stasjok avatar stasjok commented on June 20, 2024

Could you reopen for the time being? It's not urgent, but so that it's not forgotten completely.

from nvim-lspconfig.

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.