aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
...
* | feat: add buf-language-server support (#2073)Rintaro Okamura2022-08-211-0/+33
| |
* | feat: add relay language server support (#2048)Vadim Evseev2022-08-211-0/+117
| |
* | feat: add nil support (#2053)oxalica2022-08-211-0/+23
|/
* feat: add syntax_tree lsp for ruby formatting (#2056)Wassim Metallaoui2022-08-091-0/+37
|
* feat: add qml-lsp support (#2044)PopeRigby2022-08-081-0/+16
| | | | | * feat: add qml-lsp support * fix(qml-lsp): update qml-lsp formatting
* fix(denols): fix misspellingJeff Fowler2022-08-061-1/+1
|
* docs: fix typo `type` -> `typescript`Tyler Miller2022-08-061-1/+1
|
* fix(rust_analyzer): sanitize root_dir (#2047)bstaint2022-08-031-1/+1
|
* style: fix dartls formatting (#2042)Peter Lithammer2022-08-011-3/+4
|
* feat: add dagger CUE lsp (#2023)Marcos Nils2022-08-011-0/+22
| | | Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
* fix(lua-language-server): cmd fails on Windows when using mason #2039TuanHA2022-08-011-1/+9
|
* fix(pylsp): elaborate configuration example (#2037)David Kennedy2022-08-011-2/+19
| | | See #1116, #1880, #1951, etc.
* fix(gopls): engage gopls on `go.work` files (#2041)Omer Tuchfeld2022-07-311-1/+1
|
* fix(lemminx): update download location #2038David Thompson2022-07-281-2/+2
| | | | | | | | We no longer publish the lemminx binaries to download.jboss.org as a part of our release process for vscode-xml, so the binaries for the latest releases of lemminx are not there. However, they are available on the [vscode-xml GitHub](https://github.com/redhat-developer/vscode-xml), under releases. Signed-off-by: David Thompson <davthomp@redhat.com>
* fix: broken URL to taplo homepage #2025equal-l22022-07-251-1/+1
|
* fix: lspconfig.util is required with different names #2029ii142022-07-251-1/+1
| | | | | | sourcery configuration requires 'lspconfig/util', where everything else uses 'lspconfig.util'. Co-authored-by: ii14 <ii14@users.noreply.github.com>
* feat(texlab): support plaintex #2022yourealwaysbe2022-07-221-1/+1
| | | | | Sometimes simple LaTeX documents are detected as plaintex rather than tex, meaning texlab will not be applied without a manual change of filetype.
* fix(emmet-ls): missing supported filetypes #2017Lior Kummer2022-07-221-1/+1
| | | | For information on filetypes supported by emmet-ls, see: https://github.com/aca/emmet-ls#supported-filetypes
* fix(dartls): "dart" command not found on Windows #2013erietz-werner2022-07-221-1/+5
|
* fix(denols): handle deno.cache from codeaction #2016sigmaSd2022-07-221-0/+7
|
* feat(omnisharp): add more settings #2018William Boman2022-07-221-20/+107
| | | | | These have primarily been sourced from the VSCode extension [1]. [1] https://github.com/OmniSharp/omnisharp-vscode/blob/88ad237e1e904ad0f91d2de39c30132198a02dcb/src/omnisharp/server.ts#L345-L434
* fix(hls): wrong root dir for multi-package projects #2010Alexander Makarov2022-07-171-3/+15
| | | | | | | | Problem: In haskell multi-package projects there is *.cabal file in every package folder, so util.root_pattern always find root of the package but not project. Solution: Adjust the condition.
* fix(denols): jumping to definition then returning breaks lsp #2000sigmaSd2022-07-171-2/+3
| | | | | | - remove unneeded lsp attach - default to single_file_support=true fix https://github.com/neovim/nvim-lspconfig/issues/1998
* fix(denolos): ignore caching error #2009sigmaSd2022-07-171-5/+1
| | | | Caching actually works but it throws an error, vscode-deno also doesn't seem to care about errors https://github.com/denoland/vscode_deno/blob/196a11cead2d95c324cb772dd568ba7c2801b68a/client/src/commands.ts#L60
* fix(ccls): provide a string in docs.default_config.root_dir (#2006)William Boman2022-07-162-16/+15
|
* fix(denols): ignore virtual text error #1995sigmaSd2022-07-141-11/+17
| | | | | | | | | | | | | If you open a file and immediately try to go to definition this error happens: ``` {["error"]={["message"]="Method not found: deno/virtualTextDocument",["code"]="-32601"}} {["error"]={["message"]="Method not found: deno/virtualTextDocument",["code"]="-32601"}} {["error"]={["code"]="-32601",["message"]="Method not found: deno/virtualTextDocument"}} {["error"]={["code"]="-32601",["message"]="Method not found: deno/virtualTextDocument"}} ``` Seems to be a race condition where the virtual text handling is not ready yet. Because this error is unhelpful and the gotodefinition works normally after a couple of seconds, just ignore it.
* feat: antlersls config for Statamic Antlers templating language #1997Jesse Leite2022-07-141-0/+26
|
* fix(sumneko_lua): Stylua default (#1996)Null Chilly2022-07-131-1/+2
| | | https://github.com/JohnnyMorganz/StyLua#finding-the-configuration
* fix: remove unused variables in `lspinfo.lua` (#1999)Peter Lithammer2022-07-141-7/+0
| | | | | | | | | | | | | | | | | | | | | | ```console $ selene . warning[unused_variable]: buf_client_names is assigned a value, but never used ┌─ lua/lspconfig/ui/lspinfo.lua:160:9 │ 160 │ local buf_client_names = {} │ ^^^^^^^^^^^^^^^^ 161 │ for _, client in pairs(buf_clients) do 162 │ table.insert(buf_client_names, client.name) │ ---------------- `table.insert` only writes to `buf_client_names` warning[unused_variable]: client_names is assigned a value, but never used ┌─ lua/lspconfig/ui/lspinfo.lua:171:9 │ 171 │ local client_names = {} │ ^^^^^^^^^^^^ · 176 │ table.insert(client_names, client.name) │ ------------ `table.insert` only writes to `client_names` ```
* fix(gradle): set init_options.settings.gradleWrapperEnabled #1994karlivory2022-07-091-0/+11
| | | | | | | | | | | | | | | Problem: gradle-language-server doesn't work well without some kind of `init_options.settings` parameters. There's some important stuff in: https://github.com/microsoft/vscode-gradle/blob/a0151761aa2a6a07b64ced0dda5f6e9f01e77fd9/gradle-language-server/src/main/java/com/microsoft/gradle/GradleServices.java#L162-L169 that won't get called unless `init_options.settings` is at least defined. In particular if `settings == null`, gradleWrapperEnabled will be `null` as well and https://github.com/microsoft/vscode-gradle/blob/a0151761aa2a6a07b64ced0dda5f6e9f01e77fd9/gradle-language-server/src/main/java/com/microsoft/gradle/resolver/GradleLibraryResolver.java#L106 `libFolder` won't be resolved. Solution: Set `init_options.settings.gradleWrapperEnabled=true` because it's a sensible default, then `init_options.settings` isn't empty.
* feat(eslint): support yarn2 PnP projects #1777William Boman2022-07-051-0/+7
| | | | | | | https://yarnpkg.com/features/pnp Yarn's PnP feature changes the way packages are installed. Instead of building on the `node_modules` resolution, it introduces a single `.pnp.*js` file in the project. This file is responsible for orchestrating and resolving dependencies. The eslint LSP server will assume that regular `node_modules` resolution applies when locating the `eslint` package - which will not work in Yarn PnP projects. To work around this, Yarn provides the ability to run Node programs in "PnP-compat" mode via `yarn exec` and `yarn node`. My understanding is that this simply hooks into the `require()` function to resolve modules via PnP instead Node's builtin module resolution.
* fix(lspinfo): may use wrong buffer #1983William Boman2022-07-051-3/+6
| | | The `vim.fn.expand '%:p:h'` used to acquire the directory of the opened buffer would actually be executed in the context of the floating `:LspInfo` - causing it to return the current working directory instead of the actual buffer directory (the one that was active when opening the `:LspInfo` window).
* docs: formatting #1981BarrOff2022-07-021-0/+2
|
* fix(eslint): fetch active buf client in fix_all (#1978)Guillaume Lagrange2022-07-021-11/+1
|
* fix(cmake-ls): root pattern should allow nesting (#1976)kylo2522022-06-291-3/+3
| | | it should be fine for a project to have another `CMakeLists.txt`
* feat: root finder for Mercurial repo #1847Florin Iucha2022-06-281-0/+8
|
* feat: add m68k #1871Graham Bates2022-06-281-0/+36
|
* docs: svelte integration with tsserver (#1972)Jacob2022-06-261-0/+2
|
* docs: hyperlink formatting #1970Simon Weiß2022-06-211-1/+1
|
* fix(ocamllsp): update install instructions (#1966)oemmerson2022-06-191-1/+0
| | | There are stable releases of OCaml-LSP in the the Opam package manager now, it no longer has to be pinned from Git.
* fix(arduino_language_server): update setup docs #1964William Boman2022-06-181-24/+37
| | | | | | | | | | | Since [1] it is now mandatory to provide the '-cli' and '-clangd' flags as their default values were removed. It is no longer possible to start the server without these. The '-fqbn' flag was also missing from the lspconfig docs, and per my own testing and previous investigations [2] it is also a mandatory flag. [1] https://github.com/arduino/arduino-language-server/commit/387a275a243e205ffe3da8400f5cbf5ecc6fa167 [2] https://github.com/williamboman/nvim-lsp-installer/blob/main/lua/nvim-lsp-installer/servers/arduino_language_server/README.md#necessary-extra-configuration
* fix(lspinfo): trim newlines in root_dir pattern (#1962)William Boman2022-06-181-1/+4
|
* fix(docs): fix the usage of ln to make symbolic links of ↵Yang Shen2022-06-181-1/+1
| | | | compile_commands.json (#1961)
* docs(metals): update metals instructions (#1959)Chris Kipp2022-06-161-12/+2
| | | | | | | | | | | | - Updates link to the metals website - Removes the instructions about manual bootstrapping I removed these instructions because with `cs install metals` there is no reason to manually bootstrap it, we actually discourage it. Especially now that we are on a new Scala version (2.13), the old instructions including Scala 2.12 will fail. When using `cs install`, all of this is just handled for you. `nvim-metals` is still the path we recommend for any metals users.
* feat: use official jdtls wrapper script #1833Agorgianitis Loukas2022-06-151-51/+31
|
* fix(taplo): update cargo install command (#1958)Jonathan Lopez2022-06-151-1/+1
|
* feat(php): phan #1953DrWursterich2022-06-141-0/+40
|
* feat: add configuration for ghdl-ls VHDL language server (#1812)Xiretza2022-06-141-0/+22
|
* docs(eslint): reformatting (#1956)Michael Härtl2022-06-141-5/+6
|
* docs: unverbose, mention "settings" paramJustin M. Keyes2022-06-131-3/+8
| | | | | | | | | | | | | | | | | 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