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

add version flag to be able get nicer info in nevim LspInfo #570

Open
justgook opened this issue Jan 7, 2025 · 0 comments
Open

add version flag to be able get nicer info in nevim LspInfo #570

justgook opened this issue Jan 7, 2025 · 0 comments

Comments

@justgook
Copy link

justgook commented Jan 7, 2025

when you run :LspInfo the neovim client tries to get version of ols, and have no success.
and after some time LSP becomes unresponsive and requires restart.
it would be nice add just one of those flags, that just returns current version of ols, so neovim lsp client can ping it time to time and check it health.

LSP configs active in this buffer (bufnr: 30) ~
- Language client log: ~/.local/state/nvim/lsp.log
- Detected filetype: `odin`
- 1 client(s) attached to this buffer
- Client: `ols` (id: 4, bufnr: [1, 28, 36, 30, 12])
  root directory:    ~//Projects/odin-game/
  filetypes:         odin
  cmd:               ~/.local/share/nvim/mason/bin/ols
  version:           `?` (Failed to get version) Tried:
  `~/.local/share/nvim/mason/bin/ols --version`
  `~/.local/share/nvim/mason/bin/ols -version`
  `~/.local/share/nvim/mason/bin/ols version`
  `~/.local/share/nvim/mason/bin/ols --help`
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

1 participant