| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
| |
Refactor the logic on how to identify the root_dir for gopls. This will
provide a viable solution to the issue where multiple gopls lsp client
instances are started, causing adverse effects in certain areas like
diagnostics, lsp functionality (such as `go to definition`,
workspace-enabled projects). The identification for required directories
are based on golang-specific environment variables which are set by
default.
|
| |
|
|
|
|
|
|
|
|
|
| |
This fixes the following error
> E5560: nvim_echo must not be called in a fast event context
when gopls fails.
Similar to commit 48f4475.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
The purpose of a `go.work` file is to handle multi-module workspaces. A
common such scenario is a monorepo.
This is also how the legacy config works because it's using
`lsponfig.util.root_pattern()` which has similar semantics as
`root_markers`.
|
| |
|
|
|
| |
- 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.
|