aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* docs: make sure username doesn't leak into generated document (#2441)figsoda2023-02-151-0/+10
| | | | | | | | | | | | | | | * 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>
* chore: use luarocks-tag-release workflowMarc Jakobi2023-02-032-14/+0
|
* ci: add luarocks upload release workflowv0.1.5Marc Jakobi2023-01-082-0/+14
| | | | | | | | | | | | 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.
* chore(rust-analyzer): use `vim.json.decode` instead of `fn.json_decode` (#2096)numToStr2022-08-271-1/+1
|
* docs: unverbose, mention "settings" paramJustin M. Keyes2022-06-131-3/+4
| | | | | | | | | | | | | | | | | Problem: - The docs are verbose. - The "settings" param is not really clarified anywhere. Solution: - Mention the "settings" param in the README. - Tighten up the wording. - Remove the "Use a loop to conveniently call 'setup'..." advice in the docs. It confuses users and doesn't really save much code. - Start to reduce the scope of nvim-lspconfig. - For example, it is redundant for it to document general LSP things. Thus, the help section *lspconfig-lsp* was removed. closes #1951
* docs: remove use of debug module for automatically extracting root pattern ↵Michael Lingelbach2022-03-201-16/+1
| | | | (#1799)
* docs: restore commands (#1798)Michael Lingelbach2022-03-201-9/+10
|
* docs: clean up styling in documentation (#1797)Michael Lingelbach2022-03-201-11/+12
| | | Make it more obvious not to copy/paste default_config
* fix(help): workaround plugin/users overwritting tags (#1512)Javier Lopez2021-11-302-22/+4
| | | | | | | | | | | | | Most plugin managers run :helptags in the plugin, which silently overwrites the existing doc/tags. this is an issue for us since lspconfig is manipulating the tags file to point to servers_configurations.md Instead create a markdown comment with the name of the wanted tag and make a copy in the repository of servers_configurations.md to server_configurations.txt. Now when :helptags runs it finds the txt file and generates the appropriate tag. The advantage is this solution should work in all platforms, it also removes lines from docgen CI.
* docs: make |lspconfig-server-configurations| jump to the markdown file (#1497)Michael Lingelbach2021-11-272-1/+23
| | | | | | | | | | * generating the tags at docgen and modifying the |lspconfig-server-configurations| tag allows `:help lspconfig-server-configurations` take you to ./doc/server_configurations.md * adding a modeline to the markdown file ensures it sets the correct filetype Co-authored-by: Javier López <graulopezjavier@gmail.com>
* docs: fix docgen (#1486)Michael Lingelbach2021-11-261-1/+1
|
* chore: clean up importsMichael Lingelbach2021-11-251-3/+3
|
* feat: expose configsMichael Lingelbach2021-11-251-2/+2
|
* docs: documentation overhaul (#1384)Michael Lingelbach2021-11-092-29/+1
| | | | | | * remove automated generation of vimdoc + ci * unify ADVANCED_README.md and vimdoc * rename CONFIGS.md to server_configurations.md, move into doc folder * move CONTRIBUTING.md to .github folder
* style: format files with stylua v0.11.0Peter Lithammer2021-09-231-1/+4
|
* chore: remove modeline (#1177)Michael Lingelbach2021-08-241-2/+0
|
* chore: change stylua to single quotes (#1068)Michael Lingelbach2021-07-132-76/+76
|
* ci: lint and format with styluaMichael Lingelbach2021-07-032-159/+186
|
* docs(config.md): separate out lua require blockMichael Lingelbach2021-06-201-0/+6
|
* Documentation fixesMichael Lingelbach2021-03-271-3/+3
|
* docgen: add vimdoc pipeline with babelfishMichael Lingelbach2021-03-271-0/+25
|
* docgen: when no description provided fallback to reading function from sourceMichael Lingelbach2021-03-191-0/+17
|
* docgen: fix if malformed json entries presentMichael Lingelbach2021-01-261-0/+3
|
* Remove all installers and install logicMichael Lingelbach2021-01-031-5/+0
|
* Separate autogenerated readme from readme.mdMichael Lingelbach2020-12-202-243/+2
|
* docgen: add '-v' option to curl for debuggingHirokazu Hata2020-11-151-1/+1
| | | | | docgen script sometimes fails at downloading language server phase. But we can't know which language server's docgen phase was failed.
* Rename nvim_lsp to lspconfigHirokazu Hata2020-09-063-36/+36
|