aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
...
* fix: bashls add bash filetype (#3457)King Art2024-11-281-1/+1
|
* refactor: deprecate `util.path.exists`dundargoc2024-11-276-19/+23
| | | | | | Use `vim.uv.fs_stat` instead. Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
* refactor: group deprecated functions at the enddundargoc2024-11-271-12/+6
| | | | This makes it easier to assess how much functionality still needs to be deprecated.
* fix: using method string instead constant (#3468)glepnir2024-11-271-1/+1
| | | Using method string instead constant avoid nil error in low release version
* refactor: remove internal implementation of `util.path.sanitize` #3464dundargoc2024-11-267-17/+12
| | | Return value from `vim.fs.normalize` instead.
* ci: check for deprecated util functions #3462Justin M. Keyes2024-11-261-3/+1
|
* refactor: remove implementation of util.path.dirname #3460dundargoc2024-11-263-18/+5
| | | Instead, just return the result of vim.fs.dirname.
* Revert "fix: check existing_client support workspaceFolder (#3452)" (#3459)glepnir2024-11-261-8/+6
| | | This reverts commit fe88eade4ab50fca9ace99205cad1d91645ed9e8.
* fix: check existing_client support workspaceFolder (#3452)glepnir2024-11-261-6/+8
| | | | if existing_client does not support workpaceFolder should spawn a new server instance
* fix: outdated references to 'lspconfig.ui.windows' #3454Justin M. Keyes2024-11-252-2/+2
| | | | | | | | Problem: Some configs still reference 'lspconfig.ui.windows', which was removed in e6569c18c21be5166e4b9cc7530e828b8285c84e. Solution: Remove the references.
* feat: add silent on error optionMaria José Solano2024-11-232-9/+15
|
* feat: use vim.lsp.start instead of vim.lsp.start_clientMaria José Solano2024-11-231-114/+46
|
* fix: pass offset_encoding in some make params util functions(#3449)Rocky2024-11-242-4/+10
|
* docs(harper_ls): fix links to current harper repo (#3444)Jon Surrell2024-11-221-2/+2
|
* refactor(texlab): clean commands function (#3430)glepnir2024-11-201-140/+87
|
* feat(vale_ls): add reStructuredText to filetypes (#3439)Antonin Godard2024-11-171-1/+1
| | | | | | | | Vale supports parsing reStructuredText files, as documented here: https://vale.sh/docs/topics/scoping/#restructuredtext It uses rst2html in the background. Signed-off-by: Antonin Godard <antoningodard@pm.me>
* feat: add support using erb files to ruby-lsp (#3435)Vinícius Bispo2024-11-151-1/+1
|
* feat: add robotcode support (#3431)Tendon2024-11-121-0/+24
|
* fix(texlab): use exec_cmd method in cleanArtifacts and cleanAuxiliary (#3428)Dimitris Dimitropoulos2024-11-101-2/+30
| | | Problem: see #3426 and #3427
* fix(texlab): use exec_cmd method (#3427)Dimitris Dimitropoulos2024-11-101-1/+8
| | | | | | | | Problem: vim.lsp.buf.execute_command has been deprecated in nightly Solution: add version check of nvim and use client:exec_command for nightly version --------- Co-authored-by: glepnir <glephunter@gmail.com>
* feat: add the official Nextflow Language Server nextflow_ls (#3423)Micah Halter2024-11-071-0/+43
| | | | | * feat: add nextflow_ls
* chore: fix typo on deprecate of bufls (#3422)glepnir2024-11-061-1/+1
|
* feat(buf): new lsp for protobuf (#3414)Imron Gamidli2024-11-062-0/+20
| | | new server bufls for protobuf filetype
* chore(ruff_lsp): deprecate ruff_lsp in favour of ruff (#3420)Peter Lithammer2024-11-061-0/+4
| | | `ruff server` has been stable for some time now.
* fix(health): improve format of root dir and doc in checkhealth (#3416)glepnir2024-11-031-8/+7
|
* fix: correct type annotation on lspconfig.Config::on_new_config (#3411)Tristan Partin2024-10-311-1/+1
| | | | | It takes a new_root_dir parameter as documented in the help docs. Signed-off-by: Tristan Partin <tristan@partin.io>
* feat: harper supports nix filetype #3407Jeremy Fleischman2024-10-281-12/+13
| | | Support for nix just landed in harper: https://github.com/elijah-potter/harper/pull/244
* fix(dprint): add graphql to filetypes #3406Maria José Solano2024-10-281-0/+1
|
* feat: ts_query_ls (for tree-sitter query files) #3404Riley Bruins2024-10-251-0/+45
|
* fix(health): "root directory" not reported #3402Justin M. Keyes2024-10-251-9/+10
| | | | | | | Problem: "root directory" not reported. Solution: report root_dir. regression from b55b9659de9ac17e05df4787bb023e4c7ef45329
* feat(docs): improve formatting of generated docs #3400Justin M. Keyes2024-10-241-6/+6
|
* fix(health): version fails for jdtls #3399Justin M. Keyes2024-10-241-1/+1
| | | | | | | | | | Problem: version fails for jdtls Solution: Try `-version` (one hyphen). Drop `-v`, it's probably not useful. Also drop `-h` because it is unlikely to work if `--help` didn't work. TODO: make a smarter guess about the actual "argv0" of `cmd`.
* refactor(docs): drop redundant default_config #3398Justin M. Keyes2024-10-24128-494/+48
| | | | | | | Problem: default_config duplicated in `docs` items. Solution: delete it. docgen autogenerates this now.
* refactor(docs): drop redundant default_config #3397Justin M. Keyes2024-10-2461-227/+6
| | | | | | | Problem: default_config duplicated in `docs` items. Solution: delete it. docgen autogenerates this now.
* feat(docs): autogenerate default_config docsJustin M. Keyes2024-10-241-1/+1
| | | | | | | | | 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-2412-77/+16
| | | | | | | | | Problem: Docs are manually maintained everywhere for no good reason. Solution: - revert commit 9dc02492c4a457479f8a0ec7a65aac1852ff59c0 - provide a "gF" friendly link to the source
* feat: ada_ls #3394Ghjuvan Lacambre2024-10-241-0/+32
| | | | | | | | | | | | | | The configuration for the Ada Language Server was first added in #171 and removed in #3310. The removal happened due to misunderstandings, it was thought at the time that the default language server configuration could not work on its own (#1683), it turns out that this was actually caused by a bug in the ALS that was fixed a long time ago. This means the default ALS configuration can be re-introduced. However, in the meantime, a new neovim plugin for Ada was created and the name "als" was borrowed, thus we have to use a new name, ada_ls, in order to avoid breaking this plugin. This reverts commit 7b8b0b3ddd0ed6eddc93982753acaddc578defac.
* chore(config): improve on_new_config type (#3392)andrew snelling2024-10-231-1/+1
|
* fix(lua_ls): when neither lua or git root found, return nil. See #3322 (#3391)Folke Lemaitre2024-10-221-0/+3
|
* fix(health): "attempt to index cmd (function)" #3390Justin M. Keyes2024-10-201-1/+2
| | | | | | | | | | Problem: `cmd` may be a random function instead of an executable command. ERROR Failed to run healthcheck for "lspconfig" plugin. Exception: .../lua/lspconfig/health.lua:127: attempt to index field 'cmd' (a function value) Solution: Skip attempt to invoke `<cmd> --version` if `cmd` is a function.
* fix(health): improve version reporting #3388Justin M. Keyes2024-10-191-18/+15
| | | | | | - try the next command if: - version pattern is not matched - exitcode is nonzero or timeout. - truncate long output
* fix(health): support gopls version command (#3386)Scott Penrose2024-10-191-1/+1
|
* fix(lspinfo): improve version check, deduplicate #3383Justin M. Keyes2024-10-181-67/+89
| | | | | | | - improve version handling: try --version, -v, etc. - avoid hanging commands (timeout after 1s). - also collect stderr. - show "Tried: ..." on failure. - omit "custom handlers" if none found.
* feat(lspinfo): also show version in make_client_info #3382Justin M. Keyes2024-10-181-5/+8
| | | | | | | Problem: version is only printed for make_config_info. Solution: Add it to make_client_info.
* docs(lua_ls): hint about personal config #3381Jean-Charles Quillet2024-10-181-1/+1
|
* feat(lspinfo): print `<cmd> --version` resultJustin M. Keyes2024-10-181-0/+18
|
* fix(lspinfo)!: remove config.lspinfoJustin M. Keyes2024-10-182-21/+0
| | | | | | | | | | | | | | | Problem: `config.lspinfo` is an undocumented feature that allows extending the info shown in `:LspInfo` (`:checkhealth lspconfig`). This feature is unwanted because: - it's undocumented - it adds a maintenance burden - it provides info that should be derived from the LSP protocol itself. Solution: Remove support for `config.lspinfo`. Instead, `:LspInfo` (`:checkhealth lspconfig`) should be enhanced to automatically gather this kind of extra info from the server response.
* docs(lsp_ai): description string instead of table (#3374)Austin Horstman2024-10-161-3/+1
| | | Follow suit of other descriptions that are just strings
* docs(jqls, uvls): remove needy backslashes #3373Cdrman Fu2024-10-152-6/+6
|
* fix(texlab): remove deprecated texlab.auxDirectory #3255Thibault de Villèle2024-10-141-1/+0
| | | | | | | | | | | The configuration key 'texlab.auxDirextory' has been deprecated, in favor of 'texlab.build.auxDir', mirroring the latexmkrc's auxDir variable. https://github.com/latex-lsp/texlab/wiki/Configuration#deprecated-texlabauxdirectory texlab.build.auxDir has a default value of `.` in texlab if not explicitly set, or if the user has no `latexmkrc` file. https://github.com/latex-lsp/texlab/wiki/Configuration#texlabbuildauxdirectory