Commit graph

2744 commits

Author SHA1 Message Date
Quentin Boyer
c79bfb75da plugins/lsp: Add a list of all nixpkgs server packages 2024-10-08 21:28:44 +02:00
Quentin Boyer
aa24b3f9d8 update-scripts: Extract the list of all servers from nvim-lspconfig 2024-10-08 21:28:44 +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
182ffa4583
plugins/nvim-ufo: migrate to mkNeovimPlugin 2024-10-08 08:06:52 -05:00
Austin Horstman
fc584a3a41
plugins/nvim-ufo: remove with lib and helpers 2024-10-08 08:06:52 -05:00
github-actions[bot]
faa962367c flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/271c83e21ea81f39a42ad128384e0e6804956a88' (2024-10-07)
  → 'github:nix-community/home-manager/038630363e7de57c36c417fd2f5d7c14773403e4' (2024-10-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bc947f541ae55e999ffdb4013441347d83b00feb' (2024-10-04)
  → 'github:NixOS/nixpkgs/c31898adf5a8ed202ce5bea9f347b1c6871f32d1' (2024-10-06)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/2865c073858af03bc015ea045d2fd496d3f8b574' (2024-10-07)
  → 'github:NuschtOS/search/dedcfefe55152fa257b9871fe467d7f771f6e2c8' (2024-10-07)
2024-10-08 07:11:46 +00:00
github-actions[bot]
abc7f450ad flake.lock: Update
Flake lock file updates:

• Updated input 'devshell':
    'github:numtide/devshell/67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae' (2024-07-27)
  → 'github:numtide/devshell/dd6b80932022cea34a019e2bb32f6fa9e494dfef' (2024-10-07)
• Updated input 'home-manager':
    'github:nix-community/home-manager/509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e' (2024-10-04)
  → 'github:nix-community/home-manager/271c83e21ea81f39a42ad128384e0e6804956a88' (2024-10-07)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/ba81d9c1eae20fc3a1cd066062a05ac2e799e629' (2024-10-04)
  → 'github:NuschtOS/search/2865c073858af03bc015ea045d2fd496d3f8b574' (2024-10-07)
2024-10-07 21:34:10 +00:00
Austin Horstman
cb3c1bfcaf
plugins/lsp-status: fix update_interval type 2024-10-07 12:16:16 -05:00
Austin Horstman
a3dd64b30c
plugins/airline: remove with lib; and helpers 2024-10-07 12:06:27 -05:00
Austin Horstman
08cac4a5c0
plugins/cmp: remove helpers 2024-10-07 12:00:19 -05:00
Austin Horstman
62b87e5b56
plugins/cmp: remove with lib; 2024-10-07 12:00:19 -05:00
Cezary Drożak
d71cfaaae8
plugins/none-ls: add gersemi package 2024-10-07 11:22:48 +02:00
Austin Horstman
33d030d23c
plugins/nonels: remove with lib and helpers 2024-10-06 15:11:34 -05:00
Austin Horstman
fb677540e1
plugins/nonels: move to by-name 2024-10-06 15:11:34 -05:00
ben
40cb7af2b9 plugins/lsp-status: add undocumented options 2024-10-06 20:07:41 +00:00
amalgame21
aaecda1471 docs: fix typo in standalone.md (makeNixvimWithModule) 2024-10-06 18:38:33 +00:00
Austin Horstman
31acdd4b66
plugins/rest: move to by-name again 2024-10-06 09:35:47 -05:00
Fred Drake
d42c804ad5 config-examples: add fred-drake 2024-10-05 21:05:51 -04:00
Sandro
6594472fd2
Resolve aliases 2024-10-05 18:27:59 +02:00
github-actions[bot]
aeb6ae37a7 flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/2f5ae3fc91db865eff2c5a418da85a0fbe6238a3' (2024-10-01)
  → 'github:cachix/git-hooks.nix/5f58871c9657b5fc0a7f65670fe2ba99c26c1d79' (2024-10-02)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ffe2d07e771580a005e675108212597e5b367d2d' (2024-09-26)
  → 'github:nix-community/home-manager/437ec62009fa8ceb684eb447d455ffba25911cf9' (2024-10-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/06cf0e1da4208d3766d898b7fdab6513366d45b9' (2024-09-29)
  → 'github:NixOS/nixpkgs/27e30d177e57d912d614c88c622dcfdb2e6e6515' (2024-10-01)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754' (2024-09-27)
  → 'github:numtide/treefmt-nix/4446c7a6fc0775df028c5a3f6727945ba8400e64' (2024-10-03)
2024-10-05 10:47:22 +02:00
Zain Kergaye
0ca98d0210 plugins/wrapping: Add more options 2024-10-02 06:11:12 -06:00
Zain Kergaye
846e1a321a config-examples: add zainkergaye 2024-10-02 06:54:03 +00:00
Austin Horstman
dfbd272170
tests/neorg: re-enable finally 2024-10-01 23:37:21 -05: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
github-actions[bot]
675c5f27fc flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a' (2024-09-12)
  → 'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1' (2024-10-01)
• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/85f7a7177c678de68224af3402ab8ee1bcee25c8' (2024-09-28)
  → 'github:cachix/git-hooks.nix/2f5ae3fc91db865eff2c5a418da85a0fbe6238a3' (2024-10-01)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/f2e1c4aa29fc211947c3a7113cba1dd707433b70' (2024-09-28)
  → 'github:lnl7/nix-darwin/f61d5f2051a387a15817007220e9fb3bbead57b3' (2024-09-30)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1925c603f17fc89f4c8f6bf6f631a802ad85d784' (2024-09-26)
  → 'github:NixOS/nixpkgs/06cf0e1da4208d3766d898b7fdab6513366d45b9' (2024-09-29)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/9f7426e532ef8dfc839c4a3fcc567b13a20a70d3' (2024-09-27)
  → 'github:NuschtOS/search/c3c3928b8de7d300c34e9d90fdc19febd1a32062' (2024-09-29)
2024-10-02 03:38:29 +00:00
DataHearth
5f4a4b4759 plugins/earthly: add plugin 2024-09-29 21:37:51 +00:00
Austin Horstman
844336ceb2
plugins/web-devicons: support custom icons and default icon 2024-09-29 13:07:03 -05:00
Matt Sturgeon
4e2a022165
lib/to-lua: fix allowUnkeyedAttrs option 2024-09-29 17:28:24 +01:00
Matt Sturgeon
2cda50d530
plugins: remove redundant mkRaw apply functions
`strLua` now does this coercion internally.
2024-09-29 16:57:16 +01:00
Matt Sturgeon
bd6aa476b8
lib/options: remove redundant mkRaw apply functions
`strLua` now does this coercion internally.
2024-09-29 16:57:15 +01:00
Matt Sturgeon
a9c08fb6a5
lib/types: make strLua coerce strings to rawLua
Instead of relying on option `apply` functions to coerce the value to
rawLua, this can be done in the type's merge function.

Inspired by `types.coercedTo` in nixpkgs.
2024-09-29 16:57:15 +01: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
cd76b4feb8
lib: remove helpers from internal usage 2024-09-29 14:41:41 +01:00
Gaetan Lepage
2c4e4681db plugins/avante: init 2024-09-28 21:12:33 +00:00
wadsaek
c06d598315 maintainers: add wadsaek 2024-09-28 17:52:00 +00:00
wadsaek
c32a43a862 plugins/lsp-signature: init 2024-09-28 17:52:00 +00:00
Gaetan Lepage
13564727c5 plugins/render-markdown: init 2024-09-28 12:39:18 +02:00
github-actions[bot]
f9dcd86cae flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/4e743a6920eab45e8ba0fbe49dc459f1423a4b74' (2024-09-19)
  → 'github:cachix/git-hooks.nix/85f7a7177c678de68224af3402ab8ee1bcee25c8' (2024-09-28)
• Updated input 'home-manager':
    'github:nix-community/home-manager/c124568e1054a62c20fbe036155cc99237633327' (2024-09-26)
  → 'github:nix-community/home-manager/ffe2d07e771580a005e675108212597e5b367d2d' (2024-09-26)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/bd7d1e3912d40f799c5c0f7e5820ec950f1e0b3d' (2024-09-22)
  → 'github:lnl7/nix-darwin/f2e1c4aa29fc211947c3a7113cba1dd707433b70' (2024-09-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/30439d93eb8b19861ccbe3e581abf97bdc91b093' (2024-09-23)
  → 'github:NixOS/nixpkgs/1925c603f17fc89f4c8f6bf6f631a802ad85d784' (2024-09-26)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/3b7dd61b365ca45380707453758a45f2e9977be3' (2024-09-22)
  → 'github:NuschtOS/search/9f7426e532ef8dfc839c4a3fcc567b13a20a70d3' (2024-09-27)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1bff2ba6ec22bc90e9ad3f7e94cca0d37870afa3' (2024-09-25)
  → 'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754' (2024-09-27)
2024-09-28 09:23:14 +00:00
Austin Horstman
b5c19b6abb
plugins/deprecation: update icons warning 2024-09-27 16:14:56 -05:00
mitchmindtree
ae2b9bd445 plugins/idris2: init
Adds the `idris2` neovim plugin.

Also changes `idris2-lsp` to enable this new `idris2` plugin when
enabled, as it's required for `idris2-lsp` to work at all.
2024-09-27 14:27:54 +00:00
Matt Sturgeon
6b0c5d594a
lib/modules: assert that specialArgs has a valid lib
End-users have ran into issues before when attempting to re-use a `lib`
from elsewhere in nixvim's configuration.

If a `lib` without the `nixvim` extension is used, this assertion will
inform the user that this isn't supported.

In the future we can also provide better ways for end-users to overlay
their own lib with nixvim's extensions, but this is not yet implemented.

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2024-09-27 11:11:49 +01:00
Matt Sturgeon
5020e58798
lib/modules: remove specialArgsWith 2024-09-27 09:30:12 +01:00
Matt Sturgeon
4b7a41276a
modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg
This minimal implementation allows `nixpkgs.pkgs` to be defined, but
does not implement evaluating an instance from a pkgsPath when _not_
defined.

The `defaultPkgs` specialArg is dropped in favour of `nixpkgs.pkgs`
being defined. If it's not defined, an assertion is thrown.

In the future, a nixpkgs source path can be supplied, defaulting to the
flake's `inputs.nixpkgs`. Along with other `nixpkgs.*` options, this
will allow a `pkgs` instance to be evaluated within the module eval.
2024-09-27 09:30:12 +01:00
Matt Sturgeon
8c3d521bff
modules: move nixpkgs module to top-level modules
Make `pkgs` available to files submodules by passing _all_ module args
through. We already did this for `specialArgs`.
2024-09-27 09:30:12 +01:00
Zain Kergaye
31579dc201 plugins/wrapping: init 2024-09-27 02:18:51 -06:00
Zain Kergaye
10925d811c maintainers: add ZainKergaye 2024-09-27 02:18:51 -06:00
Matt Sturgeon
2f49c76a6a
lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01:00
Matt Sturgeon
bafc6308f6
plugins/none-ls/settings: cleanup lib usage 2024-09-27 08:16:48 +01:00
Matt Sturgeon
a32d2e6df0
plugins: cleanup lib usage in several plugins
- ccc
- cmake-tools
- baleia
- auto-save
- vim-css-color
- virt-column
- bacon
- coq-nvim
- dressing
- competitest
- direnv
- committia
- indent-o-matic
- guess-indent
- lsp-status
- octo
- lazygit
2024-09-27 07:08:17 +01:00