Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP detection method not working #169

Open
kkrime opened this issue Nov 12, 2024 · 3 comments
Open

LSP detection method not working #169

kkrime opened this issue Nov 12, 2024 · 3 comments

Comments

@kkrime
Copy link

kkrime commented Nov 12, 2024

When using detection_methods = { "lsp", "pattern" } and navigating between projects, CWD doesn't happen.

when using detection_methods = { "pattern", "lsp" } CWD happens.

macOS 14.5 (23F79)
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1727870382

I've attached my zipped ~/.config/nvim folder with minimum config to reproduce
project.zip

@Mte90
Copy link

Mte90 commented Nov 15, 2024

WARNING vim.lsp.buf_get_clients() is deprecated. Feature will be removed in Nvim 0.12
  - ADVICE:
    - use vim.lsp.get_clients() instead.
    - stack traceback:
        /home/mte90/.vim/plugged/project.nvim/lua/project_nvim/project.lua:16
        /home/mte90/.vim/plugged/project.nvim/lua/project_nvim/project.lua:203
        /home/mte90/.vim/plugged/project.nvim/lua/project_nvim/project.lua:248
        lua:1

maybe is related to this

@kkrime
Copy link
Author

kkrime commented Nov 16, 2024

@Mte90 vim.lsp.buf_get_clients() was definitely not working, thanks; #170

@kkrime
Copy link
Author

kkrime commented Nov 21, 2024

@Mte90 what command did you run to get that output? #169 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants