| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
| |
new server bufls for protobuf filetype
|
| |
|
| |
`ruff server` has been stable for some time now.
|
| | |
|
| |
|
|
|
| |
It takes a new_root_dir parameter as documented in the help docs.
Signed-off-by: Tristan Partin <tristan@partin.io>
|
| |
|
| |
Support for nix just landed in harper: https://github.com/elijah-potter/harper/pull/244
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Problem:
"root directory" not reported.
Solution:
report root_dir. regression from b55b9659de9ac17e05df4787bb023e4c7ef45329
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Problem:
version fails for jdtls
Solution:
Try `-version` (one hyphen). Drop `-v`, it's probably not useful. Also
drop `-h` because it is unlikely to work if `--help` didn't work.
TODO: make a smarter guess about the actual "argv0" of `cmd`.
|
| |
|
|
|
|
|
| |
Problem:
default_config duplicated in `docs` items.
Solution:
delete it. docgen autogenerates this now.
|
| |
|
|
|
|
|
| |
Problem:
default_config duplicated in `docs` items.
Solution:
delete it. docgen autogenerates this now.
|
| |
|
|
|
|
|
|
|
| |
Problem:
debug.info() is useless for some functions because they point to util.lua
Solution:
Provide a path to the source code instead of trying to inline the source
code.
|
| |
|
|
|
|
|
|
|
| |
Problem:
Docs are manually maintained everywhere for no good reason.
Solution:
- revert commit 9dc02492c4a457479f8a0ec7a65aac1852ff59c0
- provide a "gF" friendly link to the source
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The configuration for the Ada Language Server was first added in #171 and
removed in #3310. The removal happened due to misunderstandings, it was thought
at the time that the default language server configuration could not work on its
own (#1683), it turns out that this was actually caused by a bug in the ALS that
was fixed a long time ago. This means the default ALS configuration can be
re-introduced.
However, in the meantime, a new neovim plugin for Ada was created and the name
"als" was borrowed, thus we have to use a new name, ada_ls, in order to avoid
breaking this plugin.
This reverts commit 7b8b0b3ddd0ed6eddc93982753acaddc578defac.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Problem:
`cmd` may be a random function instead of an executable command.
ERROR Failed to run healthcheck for "lspconfig" plugin. Exception:
.../lua/lspconfig/health.lua:127: attempt to index field 'cmd' (a function value)
Solution:
Skip attempt to invoke `<cmd> --version` if `cmd` is a function.
|
| |
|
|
|
|
| |
- try the next command if:
- version pattern is not matched
- exitcode is nonzero or timeout.
- truncate long output
|
| | |
|
| |
|
|
|
|
|
| |
- improve version handling: try --version, -v, etc.
- avoid hanging commands (timeout after 1s).
- also collect stderr.
- show "Tried: ..." on failure.
- omit "custom handlers" if none found.
|
| |
|
|
|
|
|
| |
Problem:
version is only printed for make_config_info.
Solution:
Add it to make_client_info.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
`config.lspinfo` is an undocumented feature that allows extending the
info shown in `:LspInfo` (`:checkhealth lspconfig`).
This feature is unwanted because:
- it's undocumented
- it adds a maintenance burden
- it provides info that should be derived from the LSP protocol itself.
Solution:
Remove support for `config.lspinfo`.
Instead, `:LspInfo` (`:checkhealth lspconfig`) should be enhanced to
automatically gather this kind of extra info from the server response.
|
| |
|
| |
Follow suit of other descriptions that are just strings
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
The configuration key 'texlab.auxDirextory' has been deprecated, in
favor of 'texlab.build.auxDir', mirroring the latexmkrc's auxDir
variable.
https://github.com/latex-lsp/texlab/wiki/Configuration#deprecated-texlabauxdirectory
texlab.build.auxDir has a default value of `.` in texlab if not explicitly set, or if the user has no `latexmkrc` file.
https://github.com/latex-lsp/texlab/wiki/Configuration#texlabbuildauxdirectory
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Basics language server provides completion for buffer words, paths, and snippets. The goal is to allow current neovim users to test the built-in lsp completion without 3rd party plugins until neovim gains support for adding custom completion sources.
|
| |
|
|
|
| |
A minimal language server for HTTP syntax.
See: https://github.com/mistweaverco/kulala-ls
|
| | |
|
| |
|
|
|
| |
root (#3325)
Co-authored-by: Emma <emma@guugle.com>
|
| | |
|
| | |
|
| |
|
|
|
| |
#2712" (#3347)
This reverts commit fb453a1a443b6ea6b54a1e4c101b1160c9d37950.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
## Problem
Currently, `nvim-lspconfig` tries to attach servers automatically via two autocommands:
1. Created if `config.autostart == true` and triggered by `FileType`, if `config.filetypes` is set, else `BufReadPost`. Calls `try_add()`.
2. Created for each workspace root, triggered by `BufReadPost` matching paths starting with the root. Calls `try_add_wrapper()`.
`BufReadPost` does not fire when creating a buffer for a file that doesn't exist. This means that if `config.autostart == true` and `config.filetypes` is set and includes the detected filetype for the buffer, the server is attached automatically regardless of whether the file exists, but in all other cases the server is only attached for existing files.
## Solution
1. Where these autocommands trigger on `BufReadPost`, also trigger on `BufNewFile`.
2. Wrap the autocommand callbacks in `vim.schedule()` to ensure `filetype` is set first, as the `BufReadPost`/`BufNewFile` autocommands will trigger before `FileType` if `nvim-lspconfig` is set up early enough during Nvim init (see https://github.com/neovim/neovim/issues/7367 and https://github.com/neovim/nvim-lspconfig/pull/2712#discussion_r1261063555).
I did consider including a test with this PR, but there doesn't seem to be any existing test infrastructure for tests involving actually running a language server (or a mock of one).
Fixes #2711
|
| |
|
| |
ref: https://github.com/unocss/unocss/blob/35297359bf61917bda499db86e3728a7ebd05d6c/packages/vscode/src/autocomplete.ts#L12
|
| |
|
|
|
|
|
|
|
|
| |
Problem:
Root directory is always reported as "Running in single file mode".
Solution:
Don't prettify the filepath until "presenting" it.
fix #3346
|
| | |
|
| | |
|
| |
|
|
| |
fix #3342
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem:
:LspInfo has its own "inner platlform" of highlights, mappings etc. And
it doesn't integrate with :checkhealth.
Solution:
- Move the lspinfo code to a healthcheck.
- LspInfo features such as highlights, "floating window" presentation,
etc., should be added to :checkhealth in Nvim core, if they are really
needed.
- Define a "q" mapping until Nvim stable has that in :checkhealth.
|