Gaetan Lepage
d6cdbf36b2
modules/dependencies: add ripgrep
2025-04-11 08:51:45 +10:00
Gaetan Lepage
238ffa110a
modules/dependencies: add websocat
2025-04-11 08:51:45 +10:00
Gaetan Lepage
8333fe8ecb
modules/dependencies: add tinymist
2025-04-11 08:51:45 +10:00
Gaetan Lepage
ada40e0f74
modules/dependencies: add fish
2025-04-11 08:51:45 +10:00
Gaetan Lepage
480bb9b311
modules/dependencies: add yazi
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
b4b81587f3
modules/dependencies: add distant
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
5c5360698c
modules/dependencies: add ledger
2025-04-11 08:51:45 +10:00
Gaetan Lepage
6c37dbd53f
modules/dependencies: add lean
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
7e6038a69a
modules/dependencies: add go
2025-04-11 08:51:45 +10:00
Gaetan Lepage
090c4e0f7c
modules/dependencies: add texpresso
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
8458a6c6f1
modules/dependencies: add gcc
2025-04-11 08:51:45 +10:00
Gaetan Lepage
81874690ce
modules/dependencies: add nodejs
2025-04-11 08:51:45 +10:00
Gaetan Lepage
75f7ec4995
modules/dependencies: add tree-sitter
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
Gaetan Lepage
cfd4b61262
modules/dependencies: init + add curl
2025-04-11 08:51:45 +10:00
Gaetan Lepage
5a491f4b2b
modules/performance: temporary add plenary to extraPlugins to fix tests
2025-04-01 16:03:03 +02:00
Gaetan Lepage
5d833a1692
plugins/packer: remove (deprecated)
2025-04-01 16:03:03 +02:00
Gaetan Lepage
77c5fe808a
modules/lua-loader: use new 0.11 API for enabling/disabling
2025-04-01 16:03:03 +02:00
Gaetan Lepage
efb24d78bd
modules: refactor plugins code in top-level
2025-04-01 15:43:26 +02:00
Gaetan Lepage
db01a0dd97
modules: add env option
2025-03-24 18:50:29 +01:00
Matt Sturgeon
f99264c1fb
modules/nixpkgs: don't assign elaborated platforms
...
See https://github.com/NixOS/nixpkgs/pull/376988
2025-02-04 23:57:58 +00:00
Gaetan Lepage
12e658eca8
treewide: use mkWarnings where possible
2025-01-29 15:57:14 +01:00
Matt Sturgeon
00586f8f1b
modules/output: move symlinkJoin
to build.package
2025-01-20 14:49:59 +00:00
Matt Sturgeon
82415eaa5d
modules/nixpkgs: warn about changing defaults
...
If end-users change the nixpkgs revision to something other than our
default, they can run into issues not picked up by our test suite.
2025-01-19 13:13:15 +00:00
Matt Sturgeon
51474292cd
modules/nixpkgs: remove pkgs
default text
2025-01-17 10:16:10 +00:00
Matt Sturgeon
8c6f9ed8c4
lib/modules: allow specifying system
as an evalNixvim
arg
2025-01-17 10:16:10 +00:00
Matt Sturgeon
7790746d38
modules/nixpkgs: add useGlobalPackages
option
2025-01-17 10:16:09 +00:00
Matt Sturgeon
912841c1a7
modules/nixpkgs: construct an instance of nixpkgs.source
2025-01-17 09:37:03 +00:00
Matt Sturgeon
8dc8fa38b0
modules/nixpkgs: add hostPlatform
& buildPlatform
options
2025-01-17 09:37:03 +00:00
Matt Sturgeon
5bd04ce09a
modules/nixpkgs: add config
option
2025-01-17 09:37:02 +00:00
Matt Sturgeon
ff29c97723
modules/test: provide access to expect
function
...
Allow `test.warnings` and `test.assertions` to be defined as either a
list, or a function coerced to a list.
When defined as a function, it is supplied an `expect` function which
provides some syntactic-sugar for defining simple expectations.
This is an alternative to the current approach of defining that `expect`
function on an ad-hoc basis.
I prefer this to adding `expect` to nixvim's lib because:
1. That would require having access to `lib`
2. IDK where in `lib` such a specialized function should live
2025-01-17 02:17:34 +00:00
Matt Sturgeon
5192a85f32
test/nixpkgs-module: use a fixed runCommand
function
...
Rather than getting `runCommand` from the pkgs instance under test, get
the function from a fixed/consistent pkgs instance.
2025-01-16 02:55:01 +00:00
Matt Sturgeon
7854d5f18c
modules/test: fix expectations lib.toJSON
-> builtins.toJSON
2025-01-16 02:55:00 +00:00
Sandro Jäckel
d608bccddd
Replace runCommandNoCCLocal alias with runCommandLocal
2025-01-01 00:54:27 +00:00
Matt Sturgeon
fc9176c75b
modules/test: hide the deprecated check*
options
2024-12-27 21:09:48 +00:00
Matt Sturgeon
e5974b316d
modules/test: document possible types for expectation value
2024-12-27 20:18:30 +00:00
Matt Sturgeon
ae612f8249
tests: use warning-expectations options
...
Deprecated the old `test.check*` options.
2024-12-27 18:31:34 +00:00
Matt Sturgeon
24e3b11b23
modules/test: allow specifying expectation value type
2024-12-27 18:31:34 +00:00
Matt Sturgeon
c2e172b0d3
modules/test: allow arbitrary warning/assertion expecations
...
Allow defining expectation predicates that will be tested on the final
warnings/assertions lists.
2024-12-27 18:31:34 +00:00
Matt Sturgeon
e7dcc9b518
modules/test: allow not building nixvim config
2024-12-27 11:33:53 +00:00
Matt Sturgeon
8938e09db1
modules/output: add manDocsPackage
2024-12-23 12:18:06 +00:00
Matt Sturgeon
9487403532
modules/context: flake
option, provides access to our flake
2024-12-23 12:18:06 +00:00
Jeremy Fleischman
f3ef2721ab
modules/keymap: quickfix, use "keep" rather than "error"
...
There are some codepaths out there in the wild that seem to be
explicitly setting a buffer at build time. I'm not convinced that's a
sane thing to do, but I don't have time to dig any further right now.
See the discussion starting here:
https://github.com/nix-community/nixvim/pull/2712#issuecomment-2556330101
for more context.
2024-12-20 01:54:02 -08:00