Commit graph

2776 commits

Author SHA1 Message Date
Gaetan Lepage
998bae9dac flake-modules -> flake 2025-01-19 12:56:24 +01:00
Matt Sturgeon
cf647bc045
ci: drop 24.05 support 2025-01-19 10:32:11 +00:00
Gaetan Lepage
cbf960e565 plugins/flutter-tools: update options 2025-01-18 11:49:38 +00:00
Gaetan Lepage
4f2d78fcaf plugins/flutter-tools: update settingsExample 2025-01-18 11:49:38 +00:00
Matt Sturgeon
a1b44cfdf4
templates: remove _wrapper
Added in #361, but has been unused since #902
2025-01-18 06:15:04 +00:00
Quentin Boyer
aa839cf994 generated: Update rust-analyzer options 2025-01-17 20:46:33 +01:00
Quentin Boyer
d63ac3eb39 update-scripts: Handle missing descriptions for enums 2025-01-17 20:44:04 +01:00
Quentin Boyer
674790dbf9 update-scripts: Correctly handle propreties without a 'type' 2025-01-17 20:44:03 +01:00
Quentin Boyer
8e9458eacf update-scripts: Add more verbose errors for rust-analyzer 2025-01-17 20:44:03 +01:00
Matt Sturgeon
e4484133d6
docs/user-guide: slightly simplify lib-overlay example 2025-01-17 13:13:40 +00:00
Matt Sturgeon
51474292cd
modules/nixpkgs: remove pkgs default text 2025-01-17 10:16:10 +00:00
Matt Sturgeon
3172e48dbb
lib/tests: simplify access to default system 2025-01-17 10:16:10 +00:00
Matt Sturgeon
9bf4c9d55b
wrappers/standalone: make pkgs arg optional, allow specifying system 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
github-actions[bot]
2d68ef843a flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/a5a961387e75ae44cc20f0a57ae463da5e959656?narHash=sha256-3FZAG%2BpGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110%3D' (2025-01-03)
  → 'github:cachix/git-hooks.nix/94ee657f6032d913fe0ef49adaa743804635b0bb?narHash=sha256-I/OuxGwXwRi5gnFPsyCvVR%2BIfFstA%2BQXEpHu1hvsgD8%3D' (2025-01-16)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2532b500c3ed2b8940e831039dcec5a5ea093afc?narHash=sha256-ZOaGwa%2BWnB7Zn3YXimqjmIugAnHePdXCmNu%2BAHkq808%3D' (2025-01-10)
  → 'github:nix-community/home-manager/12851ae7467bad8ef422b20806ab4d6d81e12d29?narHash=sha256-u1gk5I1an975FOAMMdS6oBKnSIsZza5ZKhaeBZAskVo%3D' (2025-01-17)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/57733bd1dc81900e13438e5b4439239f1b29db0e?narHash=sha256-iWcjToBpx4PUd74uqvIGAfqqVfyrvRLRauC/SxEKIF0%3D' (2025-01-08)
  → 'github:lnl7/nix-darwin/bd921223ba7cdac346477d7ea5204d6f4736fcc6?narHash=sha256-deQVtIH4UJueELJqluAICUtX7OosD9paTP%2B5FgbiSwI%3D' (2025-01-14)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bffc22eb12172e6db3c5dde9e3e5628f8e3e7912?narHash=sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc%2Bc2c%3D' (2025-01-08)
  → 'github:NixOS/nixpkgs/eb62e6aa39ea67e0b8018ba8ea077efe65807dc8?narHash=sha256-uQ%2BNQ0/xYU0N1CnXsa2zghgNaOPxWpMJXSUJJ9W7140%3D' (2025-01-14)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
  → 'github:numtide/treefmt-nix/97871d416166803134ba64597a1006f3f670fbde?narHash=sha256-saLiCRQ5RtdTnznT/fja7GxcYRAzeY3k8S%2BIF/2s/2A%3D' (2025-01-16)
2025-01-17 08:17:14 +00:00
Matt Sturgeon
30842191e0
docs: enable warningsAreErrors 2025-01-17 03:56:59 +00:00
Matt Sturgeon
c19daee453
docs/user-guide: document nixvim's lib overlay 2025-01-17 02:23:10 +00:00
Matt Sturgeon
b28ebf2535
docs/user-guide: add sub-headings to helpers.md 2025-01-17 02:23:10 +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
16662760a9
lib/modules: specify modulesPath
`specialArgs.modulesPath` can be used to allow users to manually
import modules relative to our `./modules` directory.

It is also used by the module system to provide a base path for
relative `disabledModules` paths.
2025-01-17 00:28:36 +00:00
Matt Sturgeon
b5efe91c52
lib/modules: remove explicit specialArgs.lib
`lib.evalModules` will do this internally anyway
2025-01-17 00:21:28 +00:00
Matt Sturgeon
d4c67764a7
tests/nixpkgs-module: only import the minimal modules for test
Instead of importing the full set of top-level nixvim modules, only
import the nixpkgs-module and its direct dependencies.
2025-01-16 02:55:01 +00:00
Matt Sturgeon
e13b2a5129
tests/nixpkgs-module: split up helper fn 2025-01-16 02:55:01 +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
Matt Sturgeon
5b068e7f8f
tests/nixpkgs: move nixpkgs module test to dedicated drv
This should be separate from `test-sources` because we want to re-use a
common instance of nixpkgs throughout those tests.

Also, moved the existing nixpkgs module test from `test-sources`.

This partially reverts commit c4ad4d0b2e.
2025-01-15 18:04:06 +00:00
Yohh
54e6dbd8c8 user-configs: add Yohh's configuration 2025-01-15 18:21:14 +01:00
Gaetan Lepage
33ad2c729d plugins/flutter-tools: add warnings for dap integration 2025-01-15 00:05:25 +01:00
Gaetan Lepage
d9c4e154a8 plugins/flutter-tools: add flutterPackageOption 2025-01-15 00:05:11 +01:00
Gaetan Lepage
4282b73ac0 plugins/flutter-tools: move settings to dedicated file 2025-01-14 17:46:36 +00:00
Gaetan Lepage
a54b752259 plugins/femaco: init 2025-01-13 16:02:52 +00:00
Gaetan Lepage
b3d857573b plugins/papis: init 2025-01-13 15:57:18 +00:00
Gaetan Lepage
b7f783a8dc plugins/tailwind-tools: init 2025-01-13 15:52:01 +00:00
Gaetan Lepage
67bbdf9318 plugins/cornelis: init 2025-01-13 15:47:09 +00:00
Heitor Augusto
8f7600aca0 plugins/lazydev: init 2025-01-13 15:34:09 +00:00
Johan Larsson
35d6c12626 plugins/clangd-extensions: convert to mkNeovimPlugin
Wrap code in backticks

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

Surround right_aling with backticks

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

Set default of `inline` to true since we are on nvim >= 0.10

Document `highlights`

Use `mkUnsignedInt`

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

Improve warning

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

Readd deprecated options

Document icons

Rename removed-options.nix to deprecations.nix

Reformat raw string

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

Don't specify rawLua

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

Use mkDefault and make utf-16 workaround leaner

Don't wrap warning

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>

Change by -> after

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>

Document border options
2025-01-12 20:58:31 +00:00
Gaetan Lepage
56877b8f76 plugins/llm: init 2025-01-12 20:16:00 +00:00
Gaetan Lepage
8f4bf6d300 plugins/sg: init 2025-01-12 20:07:39 +00:00
Gaetan Lepage
5f3785feb8 plugins/projections: init 2025-01-12 20:00:49 +00:00
Gaetan Lepage
4527abba58 plugins/visual-multi: init 2025-01-12 18:38:35 +00:00
Gaetan Lepage
8db6c51762 plugins/lir: init 2025-01-12 18:33:25 +00:00
github-actions[bot]
2fc2132a78 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/7e00856596891850ba5ad4c5ecd2ed74468c08c5?narHash=sha256-Fo68EF6p/N9GJyHiAUbXtiE7IJlb3IMjK86LuxFMsRU%3D' (2025-01-08)
  → 'github:nix-community/home-manager/2532b500c3ed2b8940e831039dcec5a5ea093afc?narHash=sha256-ZOaGwa%2BWnB7Zn3YXimqjmIugAnHePdXCmNu%2BAHkq808%3D' (2025-01-10)
2025-01-11 12:33:01 +00:00
Gaetan Lepage
67de84848e tests/lean: disable lean tests on x86_64-darwin
https://github.com/NixOS/nixpkgs/pull/371275
2025-01-09 14:51:01 +01:00
Gaetan Lepage
bca43a2a8e tests/lsp/all-servers: disable autotools_ls on aarch64-linux
https://github.com/NixOS/nixpkgs/issues/372375
2025-01-09 14:43:27 +01:00
github-actions[bot]
574e78bb76 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/172b91bfb2b7f5c4a8c6ceac29fd53a01ef07196?narHash=sha256-/LPWMiiJGPHGd7ZYEgmbE2da4zvBW0acmshUjYC3WG4%3D' (2025-01-05)
  → 'github:nix-community/home-manager/7e00856596891850ba5ad4c5ecd2ed74468c08c5?narHash=sha256-Fo68EF6p/N9GJyHiAUbXtiE7IJlb3IMjK86LuxFMsRU%3D' (2025-01-08)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/ba9b3173b0f642ada42b78fb9dfc37ca82266f6c?narHash=sha256-bTl9fcUo767VaSx4Q5kFhwiDpFQhBKna7lNbGsqCQiA%3D' (2025-01-05)
  → 'github:lnl7/nix-darwin/57733bd1dc81900e13438e5b4439239f1b29db0e?narHash=sha256-iWcjToBpx4PUd74uqvIGAfqqVfyrvRLRauC/SxEKIF0%3D' (2025-01-08)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04)
  → 'github:NixOS/nixpkgs/bffc22eb12172e6db3c5dde9e3e5628f8e3e7912?narHash=sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc%2Bc2c%3D' (2025-01-08)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1788ca5acd4b542b923d4757d4cfe4183cc6a92d?narHash=sha256-FBG9d7e0BTFfxVdw4b5EmNll2Mv7hfRc54hbB4LrKko%3D' (2025-01-05)
  → 'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
2025-01-09 08:42:25 +00:00
Austin Horstman
83153e96c2
plugins/blink-cmp: add khaneliman maintainer 2025-01-08 16:13:53 -06:00