aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* feat(annotations): add gopls schema #4413leoperegrino2026-04-301-0/+1
| | | Add golang/vscode-go package.json to generate types for gopls
* fix(nixd): prefix schema key by "nixd." #4410leoperegrino2026-04-291-1/+8
|
* fix(zls): update zls config schema #4405Techatrix2026-04-271-1/+16
|
* feat: add more schemas #4401leoperegrino2026-04-261-1/+9
| | | Expand the current schema index with new ones and fix the nickel_ls one.
* fix(ci): "attempt to index field version" #4361Justin M. Keyes2026-03-271-2/+3
| | | | | | | | | 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 🦞
* fix(ci): noisy version changes in generated docs #4360Justin M. Keyes2026-03-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* feat(stylelint)!: migrate to stylelint-language-server #4351HyBer2026-03-261-1/+1
| | | | stylelint now has an official LS: [@stylelint/language-server](https://github.com/stylelint/vscode-stylelint/tree/main/packages/language-server)
* fix: sanitize invalid schema keys in type namesYi Ming2026-03-131-7/+55
|
* fix: map array object items to table[]Yi Ming2026-03-131-2/+2
|
* fix: avoid duplicate class names for nested schemasYi Ming2026-03-131-12/+21
|
* fix: respect schema required fieldsYi Ming2026-03-131-2/+27
|
* feat: auto-generate annotations for LSP settingsYi Ming2026-03-132-0/+555
|
* docs: add short description to help title #4331Yochem van Rosmalen2026-02-271-1/+1
| | | | | | | Problem: Missing short description in `:help local-additions`. Solution: Add it to both docs.
* fix(docs): handle config errors, document rename #4192Justin M. Keyes2025-11-161-4/+22
| | | | | | | | | | | | | | | 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.
* fix(docs): "commands" item breaks docgen #3944Fidel Yin2025-07-101-4/+1
|
* feat(docgen.lua): convert `@brief` codeblocks for vimdoc #3787Justin M. Keyes2025-04-261-4/+33
|
* feat(docgen.lua): improve vimdoc generator #3783Justin M. Keyes2025-04-261-12/+13
|
* fix(docgen.lua): obsolete enable snippetJustin M. Keyes2025-04-251-1/+1
|
* fix(docgen.lua): omnisharp "--hostPID" arg always changes #3763Justin M. Keyes2025-04-221-58/+85
|
* ci(lint): use client:exec_cmd() #3755Justin M. Keyes2025-04-211-2/+1
| | | | Use `client:exec_cmd()` instead of calling `request("workspace/executeCommand")` directly.
* fix(docs): docgen.lua reads from `lua/*.lua` #3708Justin M. Keyes2025-04-122-144/+53
| | | | | | | | 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.
* refactor: replace vim.loop with vim.uv #3703v2.0.0Chris Bandy2025-04-101-4/+4
| | | | | | 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
* fix(docgen): :help (vimdoc) format #3683Justin M. Keyes2025-04-023-25/+18
| | | followup to #3675
* fix(docgen): generate configs.txt in :help (vimdoc) format #3675Daigo Yamashita2025-04-022-18/+54
|
* fix(docgen): root_dir doc shows paths from CI env #3630Justin M. Keyes2025-02-271-1/+1
| | | | | | | | | | | | | 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
* refactor(docgen): use vim.text.indent() #3629Justin M. Keyes2025-02-271-15/+1
|
* build: remove `docgen.sh`dundargoc2025-01-212-9/+15
| | | | Instead, generate documentation by running the `docgen.lua` executable.
* refactor: silence luals warningsdundargoc2024-12-221-2/+2
|
* refactor: deprecate util.path.joindundargoc2024-12-211-1/+1
| | | | Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
* refactor: fix luals warningsv1.2.0dundargoc2024-12-191-4/+3
|
* Revert "refactor: use simpler file existence check" #3495Justin M. Keyes2024-12-061-3/+3
| | | | | This reverts commit 90c1c6cc822b1836209514c096069b9bbeab63d9. Fix #3485
* refactor: replace all instances of vim.uv with vim.loopdundargoc2024-12-021-3/+2
| | | | | 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.
* refactor: use simpler file existence checkdundargoc2024-12-011-3/+3
| | | | | The vimscript function `getftype` is an easier way to check for file existence compared to vim.uv.
* refactor: deprecate util.path.is_file #3474dundargoc2024-11-281-3/+3
|
* feat(docs): improve formatting of generated docs #3400Justin M. Keyes2024-10-241-18/+13
|
* feat(docs): improve formatting of generated docsJustin M. Keyes2024-10-241-9/+6
|
* feat(docs): autogenerate default_config docsJustin M. Keyes2024-10-241-22/+22
| | | | | | | | | 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.
* feat(docs): autogenerate default_config docsJustin M. Keyes2024-10-241-6/+29
| | | | | | | | | Problem: Docs are manually maintained everywhere for no good reason. Solution: - revert commit 9dc02492c4a457479f8a0ec7a65aac1852ff59c0 - provide a "gF" friendly link to the source
* docs: fix old URLJustin M. Keyes2024-10-091-1/+1
|
* refactor: minor cleanupJustin M. Keyes2024-10-061-8/+8
|
* ci: rename README_template.md #3357Justin M. Keyes2024-10-062-1/+1
| | | | The name `README_template.md` is confusing, because it is not related to the README (that changed long ago).
* docs: hide modeline #3356Jan Fooken2024-10-061-0/+2
|
* refactor(docgen): cleanup #3336Justin M. Keyes2024-10-021-13/+16
|
* refactor: replace deprecated vim.loop with vim.uvdundargoc2024-10-021-1/+1
|
* feat: expose config definition as `config_def` #3335Justin M. Keyes2024-10-021-1/+1
| | | | | | | | | | | | | | 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`...
* refactor: rename "server_configurations" => "configs" #3330Justin M. Keyes2024-10-012-8/+8
| | | | | | | | | | | | | | 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.
* fix(scripts): use compatible tbl_flatten in docgen (#3171)glepnir2024-05-231-9/+6
|
* refactor: add compatible tbl_flatten and lsp_get_clients for new version ↵glepnir2024-05-171-8/+10
| | | | 0.10 (#3154)
* test: remove test depend and use vusted (#2603)Raphael2023-05-111-13/+0
|
* chore: remove redundant config for Lua (#2523)Zhizhen He2023-03-231-2/+2
|