| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Problem:
ci failure after previous change:
scripts/docgen.lua:249: attempt to index field 'version' (a function value)
Solution:
fix AI slop nooooo 😠forgive me 🦞
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
The docgen script makes unwanted noise changes like this:
diff --git a/doc/configs.md b/doc/configs.md
index 25e2bc71d1..d8822ef0f4 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -2481,11 +2481,11 @@ Default config:
{
editorInfo = {
name = "Neovim",
- version = "0.12.0-dev+gc9e961994b"
+ version = "0.12.0-dev+g925e9e8722"
},
editorPluginInfo = {
name = "Neovim",
- version = "0.12.0-dev+gc9e961994b"
+ version = "0.12.0-dev+g925e9e8722"
}
}
```
Solution:
During doc generation, patch vim.version to be less noisy.
|
| |
|
|
| |
stylelint now has an official LS:
[@stylelint/language-server](https://github.com/stylelint/vscode-stylelint/tree/main/packages/language-server)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Problem:
Missing short description in `:help local-additions`.
Solution:
Add it to both docs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
If a config throws an error it fails the entire doc generation.
Solution:
Handle config error in docgen. Unfortunately, this doesn't show the
error message, it shows:
loop or previous error loading module 'lsp.volar'
instead of the actual `error('…')` message.
So meanwhile, document the current deprecation/rename pattern and use
`vim.notify()` instead.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Use `client:exec_cmd()` instead of calling
`request("workspace/executeCommand")` directly.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
The former is deprecated in neovim 0.10. Remove the check added in
9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.
See: https://github.com/neovim/neovim/blob/v0.10.0/runtime/doc/deprecated.txt#L55
|
| |
|
| |
followup to #3675
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
When `root_dir` is not defined as a function, the generated docs show
the paths resolved in the CI env:
root_dir : lua "/home/runner/work/nvim-lspconfig/nvim-lspconfig"
Solution:
Always show the "gF" message for `root_dir`, even if it is not
a function.
Fix #3628
|
| | |
|
| |
|
|
| |
Instead, generate documentation by running the `docgen.lua` executable.
|
| | |
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| | |
|
| |
|
|
|
| |
This reverts commit 90c1c6cc822b1836209514c096069b9bbeab63d9.
Fix #3485
|
| |
|
|
|
| |
We still support neovim 0.9 currently, so we can't use vim.uv. Also add
a check so we don't accidentally reintroduce it.
|
| |
|
|
|
| |
The vimscript function `getftype` is an easier way to check for file
existence compared to vim.uv.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
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 name `README_template.md` is confusing, because it is not related to
the README (that changed long ago).
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
Users/plugins may want to use the config definition without actually
activating the config via setup().
Solution:
- Expose `config_def` field and document it.
- Also undeprecate some stuff that doesn't yet have a documented
alternative.
TODO: configs.lua sets `M.filetypes = config.filetypes` and other fields
in ad-hoc fashion "for :LspInfo" but it's not clear when those fields
are actually populated, and they don't source from `config_def`...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
The name `server_configurations` is extremely verbose and irritatingly
formal and dogmatic. This overlong name is a constant nuisance when
reading, writing, and coding.
It's also not even correct: these configurations are just as much
"client" configurations as they are "server" configurations.
Solution:
- Rename to a shorter name.
- Leave placeholder files for any old URLs that link to the old
location.
|
| | |
|
| |
|
|
| |
0.10 (#3154)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* docs: make sure username doesn't leak into generated document
The documents previously contained `runner`, the username of GitHub
Actions runners, which would be overwritten by the user's name when run
locally and generate unwanted diff.
* docs: rename username to user
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
---------
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The recently added rockspec (see #2307) has to be prepared and
uploaded to luarocks for each release.
This adds an automated workflow for it, which has been tested with
plenary.nvim.
To be able to upload to luarocks, the owner of the luarocks account
will have to add an API key named `LUAROCKS_API_KEY` to this repo's
GitHub Actions secrets.
|
| | |
|