Commit graph

207 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
Gaetan Lepage
94535b24a2 plugins/lsp: fix tinymist implementation and update options 2024-12-14 18:20:47 +00:00
Gaetan Lepage
09daa2cb83 plugins/efmls-configs: move from lsp to by-name 2024-12-14 15:20:11 +01:00
Gaetan Lepage
cb0e3a7e40 plugins/efmls-configs: add new formatter kdlfmt to unpackaged 2024-11-30 17:37:42 +01:00
Gaetan Lepage
c39ecbb055 tests/lsp-servers: disable servers relying on EOL dotnet-core-combined 2024-11-30 12:33:56 +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
5f0b33710a tests/{efmls-configs,none-ls}: re-enable phpstan test 2024-11-20 23:08:31 +01:00
Gaetan Lepage
7defce3863 tests/{efmls-configs,lsp-servers}: re-enable psalm test 2024-11-20 23:07:45 +01:00
Gaetan Lepage
a773b945fb tests/lsp: ruff_lsp is deprecated, test ruff instead 2024-11-18 09:07:32 +00:00
Gaetan Lepage
e1417016df tests/{lsp-servers,efmls-configs}: disable psalm
https://github.com/NixOS/nixpkgs/pull/356704
2024-11-18 09:07:32 +00:00
Gaetan Lepage
8b77198d49 tests/{none-ls,efmls-configs}: disable phpstan
https://github.com/NixOS/nixpkgs/pull/356691
2024-11-18 09:07:32 +00:00
Gaetan Lepage
909b4f41d7 tests: re-enable lua-language-servers tests on all platforms
This reverts commit 432af78ffd.
2024-11-18 09:07:32 +00:00
Gaetan Lepage
432af78ffd tests/lsp-servers: disable lua-language-server on aarch64-darwin 2024-11-10 23:37:18 +01: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
fefb588c7f Revert "tests/lsp-servers: disable tests impacted by broken _7zz on x86_64-linux"
This reverts commit 38dd5b07a0.
2024-11-06 08:09:50 +01:00
Gaetan Lepage
38dd5b07a0 tests/lsp-servers: disable tests impacted by broken _7zz on x86_64-linux 2024-11-04 10:46:02 +01:00
Gaetan Lepage
e3733a2f27 tests: disable tests impacted by clj-kondo being broken on x86_64-darwin 2024-11-03 16:04:20 +01:00
Gaetan Lepage
98e8fcdded tests/lsp-servers: disable typescript-language-server on darwin 2024-11-03 16:04:18 +01:00
Austin Horstman
6a8124ca7b
tests/efmls-configs: add unpackaged 2024-10-18 20:36:11 -05:00
Austin Horstman
429f2e8d1a
plugins/lsp/efmls-configs: enable lua_format on x86 darwin 2024-10-15 13:12:13 -05:00
Austin Horstman
296bb568ee
plugins/lsp/efmls-configs: enable php tests again on darwin 2024-10-15 13:08:38 -05:00
Austin Horstman
49f7d73de5
plugins/lsp/efmls-configs: disable dmd
Broken package atm
2024-10-15 12:55:59 -05:00
Austin Horstman
684df4d93d
tests/lua-ls: disable on x86_64-darwin
https://github.com/NixOS/nixpkgs/issues/347742
2024-10-10 09:18:44 -05: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
90a4e3d88b
tests/lsp/efmls: re-enable cpplint 2024-10-01 23:33:09 -05:00
Austin Horstman
52984eaa0f
tests/lsp/efmls: disable php on darwin
Broken dependency on darwin
2024-10-01 23:16:50 -05:00
Matt Sturgeon
7886be8760
lib/types: flip maybeRaw's merge function
`maybeRaw` should prioritise merging `rawLua` before the other type
2024-09-29 16:57:15 +01:00
Matt Sturgeon
2f49c76a6a
lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01: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
Austin Horstman
da1a10d0f3
plugins/efmls: use efmLangServerPackage option 2024-09-14 19:23:53 -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
5143afeebc
tests/efmls: 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
Matt Sturgeon
8815180c62
plugins/lsp: move related plugins to by-name 2024-09-09 11:50:39 +01:00
Gaetan Lepage
d50ee5dd2f plugins/lsp: add basedpyright 2024-09-09 00:11:35 +02:00
Austin Horstman
86d66e410a
plugins/lspsaga: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
150c5f454b
plugins/trouble: use iconsPackage 2024-08-29 11:06:15 -05:00
Austin Horstman
45bb6636e5
tests/lsp: re-enable typst-lsp 2024-08-26 12:07:28 -05:00
Austin Horstman
89b876dc0d
plugins/conform-nvim: migrate to mkNeovimPlugin 2024-08-24 12:24:15 -05:00