Commit graph

94 commits

Author SHA1 Message Date
sportshead
6a054de04d plugins/lsp: add packageFallback option
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Build unstable (push) Waiting to run
Documentation / Build 24.11 (push) Waiting to run
Documentation / Build 25.05 (push) Waiting to run
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
https://github.com/nix-community/nixvim/pull/3445#pullrequestreview-2908615597
2025-06-16 17:19:27 +00:00
Gaetan Lepage
8d8a856896 plugins/lsp: remove unused internal enabledServers.*.capabilities option 2025-04-26 21:52:14 +02:00
Matt Sturgeon
b72ba2e4e2
plugins/lsp/servers: replace rootDir with rootMarkers
nvim-lspconfig historically used `root_dir`, along with util functions
like `root_pattern`.

Now that neovim's own LSP API is used, `root_dir` appears to be subtly
different and `root_markers` is introduced to replace `util.root_pattern`.

Since we cannot easily warn about the `root_dir` differences, it can
usually be replaced with `root_markers`, and can still be manually
configured via `extraOptions` if needed; the simplest approach here is
to remove the `rootDir` option.
2025-04-25 16:04:38 +01:00
Matt Sturgeon
8b19d15482
plugins/lsp: fix enabledServers.extraOptions type merging
Use `attrsOf` instead of `attrs` to ensure recursive merging, otherwise
things like `extraOptions.settings = lib.mkIf` will not be unwrapped by
the module system.
2024-11-26 13:57:40 +00:00
Gaetan Lepage
a773b945fb tests/lsp: ruff_lsp is deprecated, test ruff instead 2024-11-18 09:07:32 +00:00
Gaetan Lepage
898246c943 Revert "tests/lsp-servers: disable typescript-language-server on darwin"
This reverts commit 98e8fcdded.
2024-11-06 08:20:18 +01:00
Gaetan Lepage
98e8fcdded tests/lsp-servers: disable typescript-language-server on darwin 2024-11-03 16:04:18 +01:00
Quentin Boyer
8e8d9afe8e plugins/lsp: Use the auto-generated lsp plugin list 2024-10-08 21:29:43 +02:00
Quentin Boyer
cab6b0c9fe tests: Split off in a single derivation the lsp server test
This test is quite resource intensive, so let's split it to avoid
issues
2024-10-08 21:28:44 +02:00
Austin Horstman
1e28932840
tests/lsp: re-enable ols 2024-09-26 11:05:48 -05:00
Austin Horstman
803bded988
tests/lsp: re-enable omnisharp 2024-09-26 11:05:48 -05:00
Austin Horstman
59ae79ce79
tests/lsp: re-enable taplo 2024-09-26 10:50:11 -05:00
Austin Horstman
07a65fbd3c
tests/lsp: re-enable prismals 2024-09-26 10:44:28 -05:00
Austin Horstman
a8ab73432a
plugins/lsp/volar: add ts-ls integration 2024-09-21 15:32:58 -05:00
tsssni
2e3083e425 plugins/lsp: rename tsserver to ts-ls 2024-09-16 23:58:44 +08:00
Austin Horstman
1a1de2779b
tests/lsp: remove tsserver test
Lsp is deprecated and should be replaced with ts_ls
2024-09-15 10:16:59 -05:00
mitchmindtree
e170e4b598 plugins/lsp/idris2-lsp: init 2024-09-14 16:38:15 +00:00
Sefa Eyeoglu
0b665b200b
plugins/lsp/harper-ls: init
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-09-13 18:16:20 +02:00
Austin Horstman
aa15c24437
tests/lsp: disable swift 2024-09-13 10:08:08 -05:00
Austin Horstman
3d3bf1e4b3
tests/lsp: disable taplo 2024-09-13 10:08:08 -05:00
Gaetan Lepage
d50ee5dd2f plugins/lsp: add basedpyright 2024-09-09 00:11:35 +02:00
Austin Horstman
45bb6636e5
tests/lsp: re-enable typst-lsp 2024-08-26 12:07:28 -05:00
Austin Horstman
1854d591cb
tests/plugins/lsp: re-enable tests 2024-08-22 10:26:05 -05:00
Austin Horstman
39081a4106
tests/plugins/lsp: re-enable vala-ls on linux 2024-08-19 20:52:10 -05:00
Austin Horstman
a1a3488779
tests/plugins/lsp: disable vscode-langservers-extracted tests (broken package)
Re-enable after https://github.com/NixOS/nixpkgs/pull/335559 is
available in nixos-unstable.
2024-08-19 20:52:09 -05:00
Austin Horstman
a9ffb6c958
tests/plugins/lsp: disable prismals test (broken package) 2024-08-19 20:52:09 -05:00
Gaetan Lepage
460b47997f
tests/plugins/lsp: disable typst-lsp test (broken package) 2024-08-19 20:42:00 -05:00
Gaetan Lepage
fc6d40d798
tests/plugins/lsp: typst-lsp -> tinymist 2024-08-19 20:42:00 -05:00
alxdb
fab51138b7 plugins/lsp/bufls: init 2024-08-08 23:29:39 +01:00
Thomas Stachl
2415edc0cb
plugins/lsp/nextls: init 2024-07-29 07:47:28 +02:00
Noah Thornton
162ae6354b plugins/lsp/jdtls: add Eclipse JDT language server for Java
This adds the Eclipse JDT language server for Java.
2024-07-26 10:57:25 -07:00
Antonín Říha
ab67ee7e8b plugins/lsp/openscad-lsp: init
Signed-off-by: Antonín Říha <antonin.riha@protonmail.com>
2024-07-24 00:04:05 +02:00
Matt Sturgeon
eb5c090e90
plugins/lsp/tflint: init 2024-06-14 09:46:32 +01:00
Matt Sturgeon
ea5078fc10
plugins/lsp/jsonnet-ls: init 2024-06-14 09:31:12 +01:00
Théophane Hufschmitt
80c03843e7 plugins/lsp: add nickel-ls
Add `nls`, the official language server for the Nickel language.

https://github.com/tweag/nickel/
2024-06-13 16:48:56 +02:00
Matt Sturgeon
4a22c35e6d
plugins/lsp: add inlay-hint option
`onAttach` code is based on [this comment](https://github.com/lvimuser/lsp-inlayhints.nvim/issues/46#issuecomment-1949916683).

Documented upstream at [`:h lsp-inlay_hint`](https://neovim.io/doc/user/lsp.html#lsp-inlay_hint)
2024-06-09 08:55:53 +01:00
Beaudan Brown
cfff48c267
plugins/lsp: add r_language_server 2024-06-04 18:34:23 +01:00
Matt Sturgeon
b7a8b03190
plugins/lsp: normalise kebab-case-names 2024-06-03 20:56:37 +01:00
Gaetan Lepage
1bbd58b6b2 plugins/lsp: add ruby-lsp 2024-05-31 22:40:43 +02:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
Gaetan Lepage
0a294ad931 Revert "tests/lsp: temporarily disable test for pylyzer"
This reverts commit b75d6875c2.
2024-05-03 11:11:30 +02:00
Gaetan Lepage
bf23dfdb0f plugins/lsp: add nginx-language-server 2024-04-29 09:43:58 +02:00
Gaetan Lepage
b12d81c69a plugins/lsp: add ast-grep language server 2024-04-29 07:36:37 +02:00
Gaetan Lepage
83a7ce9846 plugins/lsp: add ruff language server 2024-04-19 14:39:41 +02:00
Gaetan Lepage
987c204b49 plugins/lsp: add docker-compose-language-service language server 2024-04-16 18:06:46 +02:00
Daniel
f1df154834 plugins/lsp: Add tinymist language server 2024-04-09 18:26:51 +02:00
Gaetan Lepage
512ac70ec9 plugins/lsp: add lexical language server 2024-04-09 11:38:59 +02:00
Gaetan Lepage
22982bd708 tests/lsp: disable test for vala-ls as pkgs.vala-language-server is broken 2024-04-09 10:42:58 +02:00
Gaetan Lepage
2c99cefa91 plugins/lsp: add nimls language server 2024-04-04 14:37:36 +02:00
Daniel
03009d0b99 LSP: Register keymaps on LspAttach 2024-04-04 13:30:15 +02:00