Commit graph

3182 commits

Author SHA1 Message Date
Gaetan Lepage
b66559d8ef lib/plugins/mk{Neovim,Vim}Plugin: add dependencies parameter 2025-04-28 02:04:13 +02:00
Gaetan Lepage
89c94d9ea7 plugins/telescope/media-files: use the top-level dependencies option 2025-04-27 11:28:18 +02:00
Gaetan Lepage
0a301a428a plugins/telescope/media-files: remove old rename warnings 2025-04-27 10:03:31 +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
c3a42a7ac4
plugins/lsp: remove standalonePlugins default
We don't need to add `plugins.lsp` to
`performance.combinePlugins.standalonePlugins`
now that `/lsp` is included in `pathsToLink`.
2025-04-26 19:55:38 +01:00
Matt Sturgeon
47f44488ae
modules/performance: document pathsToLink default
We set the default with "normal" priority, so explicitly list it as
`defaultText`.
2025-04-26 19:55:38 +01:00
Matt Sturgeon
6418cf3414
modules/performance: update runtimepath pathsToLink 2025-04-26 19:55:38 +01:00
Gaetan Lepage
f0ec773869 plugins/lsp: simplify implementation of per-server capabilities 2025-04-27 04:40:24 +10:00
Gaetan Lepage
2e559d3c3a plugins/lsp: simplify implementation of inlayHints 2025-04-26 19:35:31 +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
github-actions[bot]
a21504f2b0 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/abfad3d2958c9e6300a883bd443512c55dfeb1be?narHash=sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs%3D' (2025-04-24)
  → 'github:nix-community/home-manager/98f4fef7fd7b4a77245db12e33616023162bc6d9?narHash=sha256-lhVyVn1utb2UVTbyKJ6mfKB7wLTjrj14OlebvO0WU2s%3D' (2025-04-25)
2025-04-25 12:15:24 +00: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
Matt Sturgeon
e6e5369535
lib/utils: fix literalLua multiline rendering
`lib.generators.toPretty` has bespoke handling for rendering nix strings
using either the `" "` or `'' ''` syntax, based on some heuristics.

Using `toPretty` instead of `toJSON` improves how literal-lua examples
render in the docs.
2025-04-24 19:07:34 +01:00
github-actions[bot]
62ecd39b40 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/d31710fb2cd536b1966fee2af74e99a0816a61a8?narHash=sha256-TwbdiH28QK7Da2JQTqFHdb%2BUCJq6QbF2mtf%2BRxHVzEA%3D' (2025-04-23)
  → 'github:nix-community/home-manager/abfad3d2958c9e6300a883bd443512c55dfeb1be?narHash=sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs%3D' (2025-04-24)
2025-04-24 12:16:09 +00:00
Gaetan Lepage
b56177333d plugins/lsp: mark ruff_lsp as unpackaged 2025-04-24 12:48:41 +02:00
Gaetan Lepage
3c37b39a7b plugins/lsp: add package for just-lsp 2025-04-24 12:48:41 +02:00
Gaetan Lepage
991f3c8709 treewide: re-enable godot tests 2025-04-24 12:48:41 +02:00
github-actions[bot]
57b21234ce flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c?narHash=sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs%3D' (2025-04-17)
  → 'github:NixOS/nixpkgs/507b63021ada5fee621b6ca371c4fca9ca46f52c?narHash=sha256-jhZDfXVKdD7TSEGgzFJQvEEZ2K65UMiqW5YJ2aIqxMA%3D' (2025-04-23)
• Updated input 'home-manager':
    'github:nix-community/home-manager/1d0e13904bd8c444ab1595f686ede5eff377e881?narHash=sha256-bUy25YkdRfdWPxSyx22igWi6g3rd3HXKFg%2ByL4dfBPY%3D' (2025-04-23)
  → 'github:nix-community/home-manager/d31710fb2cd536b1966fee2af74e99a0816a61a8?narHash=sha256-TwbdiH28QK7Da2JQTqFHdb%2BUCJq6QbF2mtf%2BRxHVzEA%3D' (2025-04-23)
2025-04-24 07:27:53 +00:00
github-actions[bot]
157bcae64a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c?narHash=sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs%3D' (2025-04-17)
  → 'github:NixOS/nixpkgs/507b63021ada5fee621b6ca371c4fca9ca46f52c?narHash=sha256-jhZDfXVKdD7TSEGgzFJQvEEZ2K65UMiqW5YJ2aIqxMA%3D' (2025-04-23)
2025-04-24 07:27:49 +00:00
Jeremy Fleischman
f42468972c
Fix typo: nix lists are space separated, not comma separated 2025-04-23 21:11:52 -07:00
Gaetan Lepage
78f6ff0369 plugins/lsp: use vim.lsp native API 2025-04-23 15:36:09 +02:00
github-actions[bot]
954e526448 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/81541ea36d1fead4be7797e826ee325d4c19308b?narHash=sha256-%2BsFbKw1vFkulKYxsAbz84N0V/goSg808IgFh8iWe/As%3D' (2025-04-21)
  → 'github:nix-community/home-manager/1d0e13904bd8c444ab1595f686ede5eff377e881?narHash=sha256-bUy25YkdRfdWPxSyx22igWi6g3rd3HXKFg%2ByL4dfBPY%3D' (2025-04-23)
2025-04-23 12:15:53 +00:00
Gaetan Lepage
e91333ae56 plugins/lsp: remove string support for plugins.lsp.enabledServers elements 2025-04-23 09:54:47 +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
70a9a0d4c1 plugins/none-ls: add package for opentofu_validate 2025-04-22 12:16:02 +00:00
github-actions[bot]
2d50e6b1f4 generated: Update
- Updated lspconfig-servers.json
- Updated none-ls.nix
- Updated rust-analyzer.nix
2025-04-22 12:16:02 +00:00
github-actions[bot]
3c16571378 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/18dd725c29603f582cf1900e0d25f9f1063dbf11?narHash=sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38%3D' (2025-04-13)
  → 'github:NixOS/nixpkgs/ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c?narHash=sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs%3D' (2025-04-17)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ae84885d9b6b62dc58ccd300e9ab321a3fd9f9c7?narHash=sha256-KjBMsjCzIOWgDqTZMYIriPFmHiQcCb2RhuDh5JF0VVc%3D' (2025-04-19)
  → 'github:nix-community/home-manager/81541ea36d1fead4be7797e826ee325d4c19308b?narHash=sha256-%2BsFbKw1vFkulKYxsAbz84N0V/goSg808IgFh8iWe/As%3D' (2025-04-21)
2025-04-22 12:15:36 +00:00
github-actions[bot]
6c36b335cd flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/18dd725c29603f582cf1900e0d25f9f1063dbf11?narHash=sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38%3D' (2025-04-13)
  → 'github:NixOS/nixpkgs/ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c?narHash=sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs%3D' (2025-04-17)
2025-04-22 12:15:32 +00:00
Henry Fraser
d4a0db2103 docs: fix typo 2025-04-22 10:08:34 +10: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
Matt Sturgeon
d3c9dedbdd
contributing: add "Writing option examples" section 2025-04-21 11:27:40 +01:00
Gaetan Lepage
199a300488 Revert "tests/lsp: disable golangci_lint_ls"
This reverts commit e1e0e6f024.
2025-04-21 19:43:43 +10:00
Matt Sturgeon
86a887025f
contributing: reduce emphasis on settingsOptions
- Add an additional caution in CONTRIBUTING.md#declaring-plugin-options
- Remove `settingsOptions` from plugins/TEMPLATE.nix
2025-04-21 10:04:38 +01:00
Matt Sturgeon
55ad604d44
modules/dependencies: restore literal expression example support 2025-04-21 09:06:28 +01:00
Matt Sturgeon
fb80e0d0b5
modules/dependencies: coerce __depPackages attr-paths to list 2025-04-21 09:05:52 +01:00
Matt Sturgeon
1164b39963
modules/dependencies: add __depPackages example 2025-04-21 09:04:39 +01:00
Matt Sturgeon
af2f4266e2
modules/dependencies: add description to __depPackages 2025-04-21 08:40:40 +01:00
Gaetan Lepage
490bb4e2bd plugins/lilypond-suite: init 2025-04-20 23:59:36 +02:00
Gaetan Lepage
6c4e2d9279 modules/dependencies: introduce top-level (internal) __depPackages option 2025-04-20 22:57:52 +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
ca5145cdb6 plugins/lsp-packages: add unpackaged 2025-04-20 07:55:12 +10:00
Austin Horstman
cf141c07a8 plugins/deprecations: move codeium enable option renames to top level deprecations
Causes our checks to fail to have the rename alias done in the module
themselves..
2025-04-20 07:55:12 +10:00