Commit graph

3051 commits

Author SHA1 Message Date
Matt Sturgeon
574ae92a43
wrappers/modules: move enable to shared.nix
We may end up having additional "shared" options and/or config.
2024-10-22 12:31:56 +01:00
Matt Sturgeon
c693500a72
docs: simplify mdbook.nixvimOptions impl 2024-10-22 12:31:56 +01:00
Matt Sturgeon
0562e519ec
docs: refactor wrapper-options docs 2024-10-21 18:36:00 +01:00
Matt Sturgeon
5992a22821
docs: introduce a dedicated homepage
Based of the README for now, with a small additional "welcome to the
docs" section.

Perhaps in future, we could re-use the README.md verbatim? Perhaps with
some additional post-processing.

I think we'd want to dramatically reduce its size first though.

By having a dedicated homepage outside of `user-guide`, this fixes #1625
2024-10-21 18:02:37 +01:00
Gaetan Lepage
47b563d4e1 plugins/yazi: add yaziPackage option 2024-10-20 17:41:28 +02:00
Matt Sturgeon
c4ad4d0b2e
modules/nixpkgs: add overlays option
Based on the `nixpkgs.overlays` option available in NixOS, allows users
to further customize the `pkgs` instance used when evaluating nixvim.

The standard module tests are now provided a few extra module args to
enable a test where we instantiate a custom nixpkgs instance.
2024-10-19 21:11:42 +01:00
Matt Sturgeon
b9d17d5e6c
modules/nixpkgs: restructure nixpkgs.pkgs.isDefined assertion
We can throw inline to ensure our error is displayed before any attempt
to use the (non-existent) `pkgs` arg results in a less helpful error.
2024-10-19 21:11:42 +01:00
Gaetan Lepage
e3239b4d32 plugins/cmp: add cmp-nixpkgs-maintainers source 2024-10-19 12:06:20 +02:00
Austin Horstman
6a8124ca7b
tests/efmls-configs: add unpackaged 2024-10-18 20:36:11 -05:00
Austin Horstman
b5ead146c8
lsp/efmls-configs-pkgs: add new efmls packages 2024-10-18 20:36:11 -05:00
github-actions[bot]
92eec7603f
generated: Update
- Updated efmls-configs.nix
- Updated lspconfig-servers.json
- Manually adjusted `lsp-ai` description
2024-10-18 20:36:11 -05:00
github-actions[bot]
db27a88146
flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/ff68f91754be6f3427e4986d7949e6273659be1d' (2024-10-13)
  → 'github:cachix/git-hooks.nix/3c3e88f0f544d6bb54329832616af7eb971b6be6' (2024-10-16)
• Updated input 'home-manager':
    'github:nix-community/home-manager/e1aec543f5caf643ca0d94b6a633101942fd065f' (2024-10-14)
  → 'github:nix-community/home-manager/09a0c0c02953318bf94425738c7061ffdc4cba75' (2024-10-18)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c' (2024-10-14)
  → 'github:NixOS/nixpkgs/5785b6bb5eaae44e627d541023034e1601455827' (2024-10-16)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/4446c7a6fc0775df028c5a3f6727945ba8400e64' (2024-10-03)
  → 'github:numtide/treefmt-nix/d986489c1c757f6921a48c1439f19bfb9b8ecab5' (2024-10-18)
2024-10-18 20:36:11 -05:00
Matt Sturgeon
036e11665f
tests: cleanup tests to better use callTest pattern
e.g. Prefer taking `pkgs.*` attrs directly as function arguments.
2024-10-18 20:52:02 +01:00
Matt Sturgeon
4a508ceee2
tests: use callTest pattern
Allows using the `callPackage(s)` pattern on tests.

Rather than using `pkgs.callPackage`, we implement our own variant using
`lib.callPackageWith`.

Our variant (`callTest`) includes additional nixvim-specific stuff
commonly used by our tests.
2024-10-18 20:52:02 +01:00
Matt Sturgeon
990ef039f7
tests: move test derivations to tests/default.nix
Move the previous `default.nix` to `main.nix` so that `default.nix` can
be used for defining the set of all test derivations.

`main.nix` is imported by `default.nix`, but is only responsible for the
tests built from `tests/test-sources/`.
2024-10-18 20:51:30 +01:00
Coutinho de Souza
3c7b6ae5d1
plugins/telekasten: init 2024-10-17 17:28:17 -03:00
Tobias Koller
717e7060fa
plugins/telescope/live-greps-args: fix to_fuzzy_refine example
Fix the `to_fuzzy_refine` key binding example.

The `to_fuzzy_refine` function in the example is part of Telescope,
not the `telescope-live-grep-args` extension.
2024-10-16 16:52:54 +01:00
Gaetan Lepage
b9ea7f88b6 plugins/nixvim: init 2024-10-16 11:48:37 +02: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
db95f9dbd4
plugins/none-ls: disable broken packages 2024-10-15 13:03:15 -05:00
Austin Horstman
49f7d73de5
plugins/lsp/efmls-configs: disable dmd
Broken package atm
2024-10-15 12:55:59 -05:00
Austin Horstman
bb86faf8cf
plugins/auto-save: fix deprecation errors 2024-10-15 12:49:05 -05:00
github-actions[bot]
ca5ba6d5fe
generated: Update
- Updated lspconfig-servers.json
- Updated none-ls.nix
2024-10-15 12:42:25 -05:00
github-actions[bot]
6235f2745d flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/eb74e0be24a11a1531b5b8659535580554d30b28' (2024-10-12)
  → 'github:cachix/git-hooks.nix/ff68f91754be6f3427e4986d7949e6273659be1d' (2024-10-13)
• Updated input 'home-manager':
    'github:nix-community/home-manager/d57112db877f07387ce7104b5ac346ede556d2d7' (2024-10-12)
  → 'github:nix-community/home-manager/e1aec543f5caf643ca0d94b6a633101942fd065f' (2024-10-14)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/48b50b3b137be5cfb9f4d006835ce7c3fe558ccc' (2024-10-08)
  → 'github:lnl7/nix-darwin/a60ac02f9466f85f092e576fd8364dfc4406b5a6' (2024-10-14)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7' (2024-10-09)
  → 'github:NixOS/nixpkgs/a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c' (2024-10-14)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/9578d865b081c29ae98131caf7d2f69a42f0ca6e' (2024-10-12)
  → 'github:NuschtOS/search/f82d3e1c1c9d1eaeb91878519e2d27b27c66ce84' (2024-10-14)
2024-10-15 16:03:40 +00:00
Giovanni Nicosia (mood)
25b8d2ab20
Added kickstarter.nixvim stand-alone flake in the config-examples 2024-10-15 11:39:06 +02:00
Gaetan Lepage
619e24366e plugins/lsp/hls: handle automatic installation of required GHC 2024-10-13 14:33:12 +00:00
Stanislav Asunkin
767eb62f48 modules/output: obtain plugin configs from wrapped neovim
The official method for obtaining the generated initRc content is from
wrapped neovim rather than from makeNeovimConfig helper. To use this
approach: first wrap neovim with the generated config, then override it
with our wrapperArgs.
2024-10-13 09:54:05 +03:00
Stanislav Asunkin
ba77e88740 modules/output: remove unused binding 2024-10-13 09:33:20 +03:00
Stanislav Asunkin
21f7ed6eb6 tests/modules/output: test that init.lua contains all config sections
This test was removed in 3d1224a039 to
remove IFD. Rewrite the test using `pkgs.runCommandLocal` and grep.
2024-10-13 09:28:12 +03:00
Austin Horstman
48b62ac2e6
plugins/trouble: update to v3 2024-10-12 12:08:51 -05:00
Austin Horstman
066ee7d0a9
plugins/trouble: remove with lib and helpers 2024-10-12 11:40:38 -05:00
Austin Horstman
df515c651e
tests/trouble: add more examples 2024-10-12 11:40:37 -05:00
github-actions[bot]
2e1b3b7d43 flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/1211305a5b237771e13fcca0c51e60ad47326a9a' (2024-10-05)
  → 'github:cachix/git-hooks.nix/eb74e0be24a11a1531b5b8659535580554d30b28' (2024-10-12)
• Updated input 'home-manager':
    'github:nix-community/home-manager/038630363e7de57c36c417fd2f5d7c14773403e4' (2024-10-07)
  → 'github:nix-community/home-manager/d57112db877f07387ce7104b5ac346ede556d2d7' (2024-10-12)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/5cb7ef512ec20a5b7d60fc70dba014560559698a' (2024-10-09)
  → 'github:NuschtOS/search/9578d865b081c29ae98131caf7d2f69a42f0ca6e' (2024-10-12)
2024-10-12 12:32:06 +00:00
Matt Sturgeon
5cd8c9cf31
wrappers: define pkgs default within type declaration
This fixes #2378
2024-10-11 00:30:32 +01:00
Matt Sturgeon
e1c0b52487
wrappers: move programs.nixvim declaration to _shared.nix 2024-10-11 00:29:42 +01:00
Matt Sturgeon
af650ba940
tests/lsp-servers: de-couple from grouped tests
Follow up to cab6b0c9fe
2024-10-10 21:50:23 +01:00
Matt Sturgeon
88302aa17a
plugins/lsp: use a no-default option when there is no default provided 2024-10-10 20:25:03 +01:00
Matt Sturgeon
0d2751b53c
tests/generated: validate declared lsp packages 2024-10-10 18:13:54 +01:00
Austin Horstman
7916df22d2
plugins/lsp: sort unpackaged 2024-10-10 09:50:33 -05:00
Austin Horstman
d9dd573903
generated/lspconfig-servers.json: update 2024-10-10 09:50:33 -05:00
Austin Horstman
b4f71a9330
flake-modules/dev: exclude generated files from typos hook 2024-10-10 09:35:52 -05:00
Austin Horstman
849c33c283
update-scripts/nvim-lspconfig: server_configurations -> configs 2024-10-10 09:22:48 -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
Austin Horstman
75ae10571d
tests/byte-compile-lua: server_configurations -> configs
bedb2a0df1
2024-10-10 08:58:59 -05:00
Austin Horstman
c7fc381247
tests/magma-nvim: only run on linux 2024-10-10 08:41:10 -05:00
github-actions[bot]
f830aada6f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c31898adf5a8ed202ce5bea9f347b1c6871f32d1' (2024-10-06)
  → 'github:NixOS/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7' (2024-10-09)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/f276cc3b391493ba3a8b30170776860f9520b7fa' (2024-10-08)
  → 'github:NuschtOS/search/5cb7ef512ec20a5b7d60fc70dba014560559698a' (2024-10-09)
2024-10-10 13:03:40 +00:00
Austin Horstman
61ec39764f
plugins/treesitter: update description
Added some more upfront details about the plugin's default settings.
Lots of people assume just enabling the plugin will give them the
behaviors of highlighting they expect, but the plugin does not default
this to be the case.
2024-10-09 09:44:22 -05:00
Austin Horstman
e8c8f7f38c
plugins/rest: update v3 options 2024-10-09 08:39:27 -05:00
Austin Horstman
eda1402981
plugins/auto-session: migrate to mkNeovimPlugin 2024-10-08 17:57:43 -05:00