| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
| |
Problem:
System installed sources of Rust standard library are not detected as
library sources.
Solution:
Add sources location to paths used for library check. See also:
https://rust-analyzer.github.io/book/configuration.html#cargo.sysrootSrc
|
| |
|
|
|
|
|
| |
When rust-analyzer wants to invoke cargo (eg, when the user uses code lenses),
it sends a Command to nvim. This Command contains environment info that we're
currently ignoring (ie, a value of RUSTC_TOOLCHAIN). With this change, we
forward the environment variables that rust-analyzer wants to set to the
spawned process.
|
| |
|
|
|
| |
Problem: rust_analyzer does not contain the configs for codelens by default
Solution: Add codelens config
|
| |
|
|
| |
Codelens requires a bit of special configuration to work on rust-analyzer as described here:
neovim/neovim#34353 (comment)
|
| | |
|
| |
|
|
|
| |
- Call request as method
- Silence wrong diagnostic
|
| |
|
|
|
|
|
|
|
| |
Problem:
If a server is attached to a non-current buffer by
`vim.lsp.buf_attach_client`, then the Language Server-related
commands may be created in the current (wrong) buffer.
Solution:
Always use the `bufnr` arg provided to `on_attach`.
|
| |
|
|
|
|
|
| |
Problem:
`root_pattern` is not necessary for non-glob patterns.
Solution:
Replace non-glob cases with `vim.fs.root()`..
|
| |
|
| |
Fix `E5560: nvim_echo must not be called in a fast event context`
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
- brief should live at the top of each file
- fix indentation for some docs
|
| | |
|
| |
|
|
|
|
|
|
| |
Problem:
Since configs now live in `lsp/`, the docgen needs to be updated.
Solution:
Read the configs from `lsp/`. Parse the `@brief` docstring to get the
docs.
|