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

Feature request: Adding single file support for lsp attach #3187

Closed
muneebusmani opened this issue Jun 1, 2024 · 1 comment
Closed

Feature request: Adding single file support for lsp attach #3187

muneebusmani opened this issue Jun 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@muneebusmani
Copy link

Description

it is really annoying sometimes when the cwd functions to attach lsps to current buffer dont work because sometimes a ppl are not on a framework and not on git (sometimes) and then they wonder why the lsp wont attach,
for eg if i do some php scripting , just core php then there is no lsp attached if i dont initialize git, ik it is stupid to do projects without git but still the lsp should be able to attach to current file via some kinda method or so, it would be really helpful if this feature gets added to nvim-lspconfig , Thanks.

@muneebusmani muneebusmani added the bug Something isn't working label Jun 1, 2024
@justinmk
Copy link
Member

justinmk commented Jun 2, 2024

Thanks for your report. The configs in this repo are unsupported and provided only as a starting point. We depend on users (like you) to troubleshoot issues with their specific LSP setups and send improvements.

If you have a usage question, try asking it at:

If you found a bug in the core Nvim vim.lsp module (not part of this repo), the best way to get it fixed is to report to Nvim (not nvim-lspconfig) with:

  • steps to reproduce it without the particular LSP server and other factors particular to your environment
  • (optional, but very helpful): by adding a failing test case to lsp_spec.lua, which has code to setup a fake LSP server to simulate various scenarios

@justinmk justinmk closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants