Gaetan Lepage
f4b0b81ef9
plugins/flutter-tools: use new path for mkNeovimPlugin
2024-12-28 10:37:50 +01:00
Heitor Augusto
0307cdf297
plugins/blink-cmp: force version for blink.cmp >= 0.8.2
...
When using nix to install blink-cmp plugin version 0.8.2 or higher,
the plugin fails to load because it cannot find the git hash or tag
used during build. So we force define the current version based on the
current package version
2024-12-27 23:51:54 +00:00
Austin Horstman
9a08553d15
plugins/flutter-tools: init
2024-12-27 23:36:04 +00:00
Gaetan Lepage
7500425d31
lib/options/mkRaw': handle pluginDefault=null
2024-12-27 23:36:04 +00:00
Sammy Etur
1702f24074
plugins/molten: add wezterm as image provider
2024-12-27 17:17:59 -06:00
Sammy Etur
abe2211aef
plugins/wezterm: init
...
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2024-12-27 17:17:59 -06:00
Heitor Augusto
3fa487c81d
plugins/lint: migrate to mkNeovimPlugin
2024-12-27 23:08:13 +00:00
Austin Horstman
5b35c4eaed
plugins/glance: init
2024-12-27 16:46:39 -06:00
Matt Sturgeon
fc9176c75b
modules/test: hide the deprecated check*
options
2024-12-27 21:09:48 +00:00
Matt Sturgeon
60e88b870c
docs: treat internal options as invisible
...
`internal` options are intended to be implicitly not `visible`. This is
already handled correctly by the nixos tooling, but our custom tooling
did not correctly handle the edge case.
This lead to strange cases where an internal option is not included in
the docs, but its sub-options were still visible.
2024-12-27 20:34:23 +00:00
Matt Sturgeon
e5974b316d
modules/test: document possible types for expectation value
2024-12-27 20:18:30 +00:00
Matt Sturgeon
e679ee91fa
tests: omit default
suffix in test names
...
If the test file is `default.nix`, we don't need to append the filename
to the test namespace.
2024-12-27 19:13:05 +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
Heitor Augusto
1671f8618f
lib/mk-neovim-plugin: allow lazy-loading without luaConfig
2024-12-26 23:12:15 +00:00
Heitor Augusto
f878289722
lib/plugins: make plugin optional when lazy-loading
2024-12-26 23:00:27 +00:00
r6t
87b2679d6f
user-configs: add @r6t config
2024-12-26 11:16:13 -08:00
rottenfishbone
25c1352464
docs/contributing: fix hyperlink issues
2024-12-25 16:37:13 -07:00
Heitor Augusto
ca3c7e29a8
plugins/blink-cmp-copilot: init
2024-12-25 07:56:12 -03: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
Heitor Augusto
7391dc14ca
plugins/blink-compat: init
2024-12-23 12:11:32 +00:00
Matt Sturgeon
6f45ca4a22
lib/modules: flake
is now required
2024-12-23 11:55:32 +00:00
Matt Sturgeon
403d5e23c5
lib/modules: remove assertion message for removed check
arg
2024-12-23 11:54:35 +00:00
Gaetan Lepage
f1b5c2c593
lib/tests: remove deprecated dontRun
2024-12-23 10:23:39 +00:00
Matt Sturgeon
472526d7aa
wrappers: extract nixvim-lib from extended lib
...
Use the overridden nixivim-lib from the overlayed/extended nixpkgs lib.
This ensures consistency between `nixvimLib.nixvim` and `config.lib.nixvim.`
2024-12-23 09:58:55 +00:00
Matt Sturgeon
aefab28b3b
lib/overlay: init
...
The overlay allows extending any instance of nixpkgs-lib into a
nixvim-compatible "extended" instance.
2024-12-23 09:58:54 +00:00
github-actions[bot]
450cccf472
flake.lock: Update
...
Flake lock file updates:
• Updated input 'git-hooks':
'github:cachix/git-hooks.nix/0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d?narHash=sha256-nzE5UbJ41aPEKf8R2ZFYtLkqPmF7EIUbNEdHMBLg0Ig%3D' (2024-12-17)
→ 'github:cachix/git-hooks.nix/f0f0dc4920a903c3e08f5bdb9246bb572fcae498?narHash=sha256-ulZN7ps8nBV31SE%2BdwkDvKIzvN6hroRY8sYOT0w%2BE28%3D' (2024-12-21)
• Updated input 'home-manager':
'github:nix-community/home-manager/1395379a7a36e40f2a76e7b9936cc52950baa1be?narHash=sha256-OOfI0XhSJGHblfdNDhfnn8QnZxng63rWk9eeJ2tCbiI%3D' (2024-12-19)
→ 'github:nix-community/home-manager/cb27edb5221d2f2920a03155f8becc502cf60e35?narHash=sha256-bXZJvUMJ2A6sIpYcCUAGjYCD5UDzmpmQCdmJSkPhleU%3D' (2024-12-22)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d3c42f187194c26d9f0309a8ecc469d6c878ce33?narHash=sha256-cHar1vqHOOyC7f1%2BtVycPoWTfKIaqkoe1Q6TnKzuti4%3D' (2024-12-17)
→ 'github:NixOS/nixpkgs/d70bd19e0a38ad4790d3913bf08fcbfc9eeca507?narHash=sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ%3D' (2024-12-19)
2024-12-22 15:18:47 +00:00
Matt Sturgeon
214731d355
lib/plugins: deprecate neovim-plugin
& vim-plugin
aliases
2024-12-22 10:29:38 +00:00
Matt Sturgeon
43a3171dec
treewide: vim-plugin
-> plugins
2024-12-22 10:04:17 +00:00
Matt Sturgeon
5e9a6c00a9
treewide: neovim-plugin
-> plugins
2024-12-22 10:04:00 +00:00
Matt Sturgeon
787844cfe4
lib/plugins: call sub-components with relevant args
2024-12-22 09:35:16 +00:00
Matt Sturgeon
690fc895b5
lib/plugins: extract common logic for package
options
...
Adds `mkPluginPackageModule`.
2024-12-22 09:35:16 +00:00
Matt Sturgeon
896f6be694
lib/plugins: take ownership of modules
utils
...
These util functions were previously defined in `modules`, but
`plugins.utils` is a better home.
2024-12-22 09:35:16 +00:00
Matt Sturgeon
ec97297fd5
lib/plugins: separate main factory functions
2024-12-22 09:35:16 +00:00
Matt Sturgeon
88a1c1b46a
lib/plugins: organise plugin-factory functions in a subdir
2024-12-22 09:35:15 +00:00
Austin Horstman
6a4b4221c4
dev/new-plugin: originalName -> packPathName
2024-12-21 10:27:12 -06:00
Matt Sturgeon
d39a09d05d
flake: warn when lib.<system>.helpers
is used
2024-12-21 15:21:32 +00:00
Matt Sturgeon
4b3b67fb6f
lib: make overrideable & access via flake
...
Add a non-system specific `<flake>.lib.nixvim` output, which is
equivalent to the existing `<flake>.lib.<system>.helpers` output.
This is now also wrapped with `lib.makeOverridable` to allow overriding
the function args used to construct the nixvim-lib.
Consistently access nixvim-lib via the new flake output, overriding
where necessary.
2024-12-21 15:17:43 +00:00
Matt Sturgeon
e2ef15a665
lib: add extend
function
2024-12-21 15:14:30 +00:00
github-actions[bot]
937c9b4acf
flake.lock: Update
...
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/83ecd50915a09dca928971139d3a102377a8d242?narHash=sha256-wNX3hsScqDdqKWOO87wETUEi7a/QlPVgpC/Lh5rFOuA%3D' (2024-12-16)
→ 'github:nix-community/home-manager/1395379a7a36e40f2a76e7b9936cc52950baa1be?narHash=sha256-OOfI0XhSJGHblfdNDhfnn8QnZxng63rWk9eeJ2tCbiI%3D' (2024-12-19)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/0ce9d149d99bc383d1f2d85f31f6ebd146e46085?narHash=sha256-s4DalCDepD22jtKL5Nw6f4LP5UwoMcPzPZgHWjAfqbQ%3D' (2024-12-09)
→ 'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f?narHash=sha256-MMi74%2BWckoyEWBRcg/oaGRvXC9BVVxDZNRMpL%2B72wBI%3D' (2024-12-20)
2024-12-21 12:32:13 +00:00
svanr
9f32e25f3f
plugins/treesitter: update docs for custom grammar installation
2024-12-20 21:53:47 -05:00
Austin Horstman
354fc0f288
plugins/todo-comments: add TodoFzfLua
2024-12-20 17:24:13 -06:00
Dylan Tompkins
6830c55d09
fix(docs): typo in install.md
2024-12-20 13:12:37 -08: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
Gaetan Lepage
37608b4627
Revert "plugins/cmp/sources: use mkNeovimPlugin instead of mkVimPlugin for source plugins"
...
This reverts commit 6a9d840370
.
2024-12-19 01:25:59 +01:00
Gaetan Lepage
2b7f17b6de
plugins/crates: rename from crates-nvim to crates, move to by-name, migrate to mkNeovimPlugin
2024-12-19 01:04:58 +01:00
Gaetan Lepage
5d6e83d8ab
plugins/copilot-cmp: move to by-name, migrate to mkNeovimPlugin
2024-12-19 00:34:43 +01:00