Matt Sturgeon
556eb29548
plugins/lspconfig: init
...
A simplified replacement for `plugins.lsp`.
Eventually, once the `lsp` and `plugins.lspconfig` modules are mature,
`plugins.lsp` will be deprecated and/or aliased.
2025-04-28 18:54:04 +01:00
Gaetan Lepage
70c9b3b890
modules/lsp: init
...
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-04-28 18:11:39 +02:00
Stanislav Asunkin
6415ae4a97
tests/modules/performance/combine-plugins: improve assertion messages
...
This commit eliminates assertions boilerplate and improves assertion
message by returning the number of plugins and their names.
2025-04-28 17:26:13 +03:00
Stanislav Asunkin
f28d384ab5
modules/performance/combine-plugins: propagate lua dependencies
...
Plugins from luarocks (e.g. telescope-nvim) have dependencies specified
in propagatedBuildInputs. These dependencies are not added as plugins in
Nvim runtime. They are added to LUA_PATH env var for wrapped neovim.
This commit collects all propagatedBuildInputs from input plugin list
and puts them in the combined plugin.
Note that such dependencies are never combined, because they are not
plugins.
2025-04-28 17:26:13 +03:00
Stanislav Asunkin
57e19ec3ec
tests/modules/performance/combine-plugins: use stub plugins for tests
...
During the last half of the year many dependencies of plugins used in
the tests were changed in nixpkgs. To make tests more robust use a
specially crafted stub plugins.
2025-04-28 17:26:13 +03:00
Stanislav Asunkin
9c39ea4ccb
tests/modules/performance/byte-compile-lua: fix tests
...
telescope-nvim doesn't have explicit dependency on plenary-nvim anymore.
Use noice-nvim which have a dependency on nui-nvim instead.
2025-04-28 17:26:13 +03:00
Stanislav Asunkin
014b143f6a
tests/modules/performance/combine-plugins: restore test functionality
...
Replace test plugins to those that reflect the intention for the test.
2025-04-28 17:26:13 +03:00
Stanislav Asunkin
faa31d994c
Revert "tests/modules-performance: add nvim-cmp to extraPlugins when necessary"
...
This reverts commit bb5b0a2655
.
This change defeats the purpose of the dependency test. Revert it.
The test should verify that dependencies are correctly pulled. If
upstream plugin doesn't have dependency anymore, then a suitable
alternative should be used, not dependencies added manually.
2025-04-28 17:26:13 +03:00
Gaetan Lepage
89c94d9ea7
plugins/telescope/media-files: use the top-level dependencies option
2025-04-27 11:28:18 +02:00
Gaetan Lepage
8d8a856896
plugins/lsp: remove unused internal enabledServers.*.capabilities option
2025-04-26 21:52:14 +02:00
Matt Sturgeon
6c73350557
modules/diagnostic: rename diagnostics
-> diagnostic.config
...
Currently we represent `vim.diagnostic.config()` as a top-level
`diagnostics` option. This means we have no clear namespace for
(e.g.) `vim.diagnostic.<action>` keymap functions.
2025-04-26 20:09:23 +01: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
Wyatt Avilla
d86fe3df56
modules/diagnostics: fix virtual_lines
example
...
The setting is named `current_line`, not `only_current_line`.
See https://neovim.io/doc/user/diagnostic.html#vim.diagnostic.Opts.VirtualLines
2025-04-24 16:50:32 -07:00
Gaetan Lepage
991f3c8709
treewide: re-enable godot tests
2025-04-24 12:48:41 +02:00
Gaetan Lepage
60638182b8
tests/none-ls: disable rego and opacheck on aarch64-linux (build failure of open-policy-agent)
2025-04-22 12:16:02 +00:00
Gaetan Lepage
4f72d5c43e
tests/{none-ls,efmls-configs}: disable ansible-lint (build failure)
2025-04-22 12:16:02 +00:00
Gaetan Lepage
9eb03ab777
treewide: disable godot (build failure)
2025-04-22 12:16:02 +00:00
Gaetan Lepage
d6709382e7
tests: disable tests depending on broken sourcekit on aarch64-linux
2025-04-22 12:16:02 +00:00
Gaetan Lepage
7a58109958
tests/dependencies: extend the disabled logic to the "examples" test case
2025-04-21 16:08:11 +02:00
Gaetan Lepage
91073486b2
tests/dependencies: add disabled list to skip testing broken dependencies
2025-04-21 13:55:36 +02:00
Gaetan Lepage
75efaa0a97
tests: move away from string comparisons with stdenv.hostPlatform
2025-04-21 21:25:15 +10:00
Gaetan Lepage
199a300488
Revert "tests/lsp: disable golangci_lint_ls"
...
This reverts commit e1e0e6f024
.
2025-04-21 19:43:43 +10:00
Gaetan Lepage
490bb4e2bd
plugins/lilypond-suite: init
2025-04-20 23:59:36 +02:00
Austin Horstman
710f9cbd52
tests/cmp: disable codeium
2025-04-20 07:55:12 +10:00
Austin Horstman
b541c36468
tests/windsurf-nvim: dont run nvim
...
Transient error being cached.
2025-04-20 07:55:12 +10:00
Austin Horstman
c8cd3a9467
tests/efmls-configs: disable php tools
...
Broken dependency upstream
2025-04-20 07:55:12 +10:00
Austin Horstman
7f4efe62e0
plugins/windsurf-vim: rename codeium-vim
...
Rename plugin, use new packpathname, and update deprecations to point
from old name to new name.
2025-04-20 07:55:12 +10:00
Austin Horstman
1971ec5b2b
plugins/windsurf-nvim: rename codeium-nvim
...
Rename plugin, use new packpathname, and update deprecations to point
from old name to new name.
2025-04-20 07:55:12 +10:00
Gaetan Lepage
0bdc32e331
plugins/supermaven: init
...
Co-authored-by: Po Co <polniolino@gmail.com>
2025-04-15 22:40:13 +01:00
Matt Sturgeon
d94956e5da
lib/deprecation: implement aliases for mkRemovedPackageOptionModule
...
Allows most existing configs to continue building, now with warnings
instead of assertions when the old `plugins.*.*Package` options are
used.
An assertion will still occur if there is a merge conflict, e.g:
`plugins.a.fooPackage = null` and `plugins.b.fooPackage = pkgs.foo`.
2025-04-15 22:15:18 +01:00
Gaetan Lepage
327d491936
plugins/parrot: init
2025-04-14 07:39:40 +10:00
Matt Sturgeon
16879e3034
modules/dependencies: refactor all-examples
test
...
Embed the original `path` as an attr in the literal expression, so that
we don't need to convert back from human readable paths in the test.
2025-04-13 18:23:06 +01:00
Kasper Seweryn
e537d4a6b4
plugins/whichpy: init
2025-04-11 16:52:33 +02:00
Gaetan Lepage
72ce6dbdf5
tests/modules/dependencies: test all package examples
2025-04-12 00:37:55 +10:00
Gaetan Lepage
e9a85eed8b
plugins/jdtls: allow rawLua in settings.cmd
2025-04-12 00:28:32 +10:00
Gaetan Lepage
e83c7fc2e7
plugins/minuet: init
2025-04-12 00:20:25 +10:00
Gaetan Lepage
0a78c93e7a
modules/dependencies: add llm-ls
2025-04-11 08:51:45 +10:00
Gaetan Lepage
5ad022e151
modules/dependencies: add glow
2025-04-11 08:51:45 +10:00
Gaetan Lepage
68c806bd60
modules/dependencies: add wezterm
2025-04-11 08:51:45 +10:00
Gaetan Lepage
ee60083622
modules/dependencies: add bat
2025-04-11 08:51:45 +10:00
Gaetan Lepage
a79c872893
modules/dependencies: add sd and sed
2025-04-11 08:51:45 +10:00
Gaetan Lepage
d6cdbf36b2
modules/dependencies: add ripgrep
2025-04-11 08:51:45 +10:00
Gaetan Lepage
961a96b537
modules/dependencies: add manix
2025-04-11 08:51:45 +10:00
Gaetan Lepage
662ad478f2
modules/dependencies: add gh
2025-04-11 08:51:45 +10:00
Gaetan Lepage
24aec95e3b
modules/dependencies: add direnv
2025-04-11 08:51:45 +10:00
Gaetan Lepage
07c767cd2f
modules/dependencies: add ctags
2025-04-11 08:51:45 +10:00
Gaetan Lepage
cfb56d1ed3
modules/dependencies: add typst
2025-04-11 08:51:45 +10:00
Gaetan Lepage
9cc70f8c03
modules/dependencies: add which
2025-04-11 08:51:45 +10:00
Gaetan Lepage
9abe8fd025
modules/dependencies: add git
2025-04-11 08:51:45 +10:00
Gaetan Lepage
30c4d00b72
modules/dependencies: add ueberzug
2025-04-11 08:51:45 +10:00