Commit graph

2366 commits

Author SHA1 Message Date
Matt Sturgeon
4726334e44
docs: move wrapper options to dedicated sub-pages 2024-10-24 18:32:39 +01:00
Matt Sturgeon
131e74e560
docs: move wrapper-options to summary index page 2024-10-24 18:32:15 +01:00
Matt Sturgeon
cd68b680cd
docs: rename modules -> platforms 2024-10-24 18:32:15 +01:00
Matt Sturgeon
c477b7865e
docs/mdbook: use a fileset union for source 2024-10-24 18:32:15 +01:00
Matt Sturgeon
c2dbf7acf1
docs/mdbook: clean up derivation 2024-10-24 18:32:13 +01:00
Gaetan Lepage
28bdec9cf7 generated: Update lspconfig-servers.json 2024-10-24 12:43:44 +00:00
Gaetan Lepage
203b419c21 generated: Update efmls-configs.nix 2024-10-24 12:43:44 +00:00
github-actions[bot]
f18f444116 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/09a0c0c02953318bf94425738c7061ffdc4cba75' (2024-10-18)
  → 'github:nix-community/home-manager/122f70545b29ccb922e655b08acfe05bfb44ec68' (2024-10-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5785b6bb5eaae44e627d541023034e1601455827' (2024-10-16)
  → 'github:NixOS/nixpkgs/4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0' (2024-10-18)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/f82d3e1c1c9d1eaeb91878519e2d27b27c66ce84' (2024-10-14)
  → 'github:NuschtOS/search/0b60729dfbf9380b7c9ce51e0c89df7a83519a19' (2024-10-19)
2024-10-24 12:43:44 +00:00
Shahar "Dawn" Or
46f658d960 plugins/lsp: no call fn in keymaps.extra example
Because by calling we do not get the function reference but its return
value, instead.
2024-10-24 08:24:08 +00:00
Shahar "Dawn" Or
81df7156ae plugins/telescope: enabledExtensions doc refer to extraPlugins
Instead of referring to seemingly incorrect `extraPackages`
2024-10-24 10:22:13 +07:00
Austin Horstman
029eafd70d
plugins/deprecation: add rust-tools 2024-10-23 11:07:00 -05:00
Austin Horstman
876ca32451
plugins/rust-tools: remove with lib and helpers 2024-10-23 10:57:45 -05:00
Austin Horstman
32969847d3
plugins/lsp-format: migrate to mkNeovimPlugin 2024-10-23 08:58:17 -05:00
Austin Horstman
fb1943a673
plugins/lsp-format: remove with lib and helpers 2024-10-22 23:11:37 -05:00
Matt Sturgeon
b076f006c6
wrappers: add meta.wrappers options to wrappers
Allows the docs to be a little less hard-coded.

Lays the groundwork for splitting up the platform-specific option docs
on a per-page basis.
2024-10-22 14:15:58 +01:00
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