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
Gaetan Lepage
7aed1c4b57
plugins/cmp-tabnine: move to by-name
2024-12-18 23:27:47 +00:00
Jeremy Fleischman
79a637d196
modules/keymap: include buffer when registering keymapsOnEvents
...
This feels more correct to me: I believe we were registering a keymap
for all buffers, even if only some of them have experienced the relevant
autocmd.
I don't know if it's guaranteed here that `args.buf` always exists
(but maybe it's not a problem if it doesn't exist, because we'll still
register a keymap for all buffers?).
This fixes https://github.com/nix-community/nixvim/issues/2711
2024-12-18 23:04:09 +00:00
Gaetan Lepage
520c2868eb
plugins/cmp-git: move to by-name
2024-12-18 23:35:23 +01:00
Gaetan Lepage
a61193abcc
plugins/cmp-ai: move to by-name
2024-12-18 22:17:24 +01:00
Matt Sturgeon
f1addaaddf
lib/{neovim,vim}-plugin: remove redundant parens
2024-12-18 20:12:01 +00:00
Matt Sturgeon
6019ce784c
lib/{neovim,vim}-plugin: use loc
throughout
2024-12-18 19:47:37 +00:00
Gaetan Lepage
eaa2084627
plugins/cmp-fish: move extra option to the sources list
2024-12-18 18:58:44 +01:00
Gaetan Lepage
5abe382c54
plugins/cmp-tabby: move to by-name
2024-12-18 18:42:03 +01:00
Gaetan Lepage
6e52e32d40
dev/list-plugins: trivial refactor
2024-12-18 18:41:36 +01:00
Gaetan Lepage
6a9d840370
plugins/cmp/sources: use mkNeovimPlugin instead of mkVimPlugin for source plugins
2024-12-18 17:16:57 +00:00
github-actions[bot]
11e8a5dbc6
flake.lock: Update
...
Flake lock file updates:
• Updated input 'git-hooks':
'github:cachix/git-hooks.nix/aa9f40c906904ebd83da78e7f328cd8aeaeae785?narHash=sha256-NdaCraHPp8iYMWzdXAt5Nv6sA3MUzlCiGiR586TCwo0%3D' (2024-12-15)
→ 'github:cachix/git-hooks.nix/0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d?narHash=sha256-nzE5UbJ41aPEKf8R2ZFYtLkqPmF7EIUbNEdHMBLg0Ig%3D' (2024-12-17)
• Updated input 'home-manager':
'github:nix-community/home-manager/66c5d8b62818ec4c1edb3e941f55ef78df8141a8?narHash=sha256-hSwgGpcZtdDsk1dnzA0xj5cNaHgN9A99hRF/mxMtwS4%3D' (2024-12-13)
→ 'github:nix-community/home-manager/83ecd50915a09dca928971139d3a102377a8d242?narHash=sha256-wNX3hsScqDdqKWOO87wETUEi7a/QlPVgpC/Lh5rFOuA%3D' (2024-12-16)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/3566ab7246670a43abd2ffa913cc62dad9cdf7d5?narHash=sha256-AKU6qqskl0yf2%2BJdRdD0cfxX4b9x3KKV5RqA6wijmPM%3D' (2024-12-13)
→ 'github:NixOS/nixpkgs/d3c42f187194c26d9f0309a8ecc469d6c878ce33?narHash=sha256-cHar1vqHOOyC7f1%2BtVycPoWTfKIaqkoe1Q6TnKzuti4%3D' (2024-12-17)
2024-12-18 12:52:27 +00:00
Gaetan Lepage
4f1fe403b1
plugins/openscad: migrate to mkVimPlugin
2024-12-17 22:52:36 +01:00
Gaetan Lepage
17905dec3d
modules: let extraPlugins accept null values
2024-12-17 22:46:34 +01:00
Gaetan Lepage
167167e4b3
lib/vim-plugin: expose new helpers settingsOptionDescription
and processPrefixedGlobals
and mkSettingsOption
2024-12-17 22:46:34 +01:00
Gaetan Lepage
1d50fa4f63
lib: add applyPrefixToAttrs
2024-12-17 21:40:20 +00:00
Jost Alemann
e24e40e5f1
plugins/obsidian: add missing word in description
...
add missing word in description of option
`plugins.obsidian.settings.workspaces.*.path`
2024-12-17 20:39:39 +00:00
Heitor Augusto
092e5ed56a
plugins/luasnip: migrate to mkNeovimPlugin
2024-12-17 20:32:29 +00:00
Heitor Augusto
aaf0fb1663
dev/list-plugins: conditionally create devshell only if devshell input is present
2024-12-17 15:01:35 -03:00
bitterlox
f4b7fd46f6
plugins/palette: fix minor typo; ( #2696 )
2024-12-17 08:47:56 -06:00
Gaetan Lepage
c803fd738f
dev/list-plugins: derivation cosmetic refactor
2024-12-17 14:21:51 +00:00
Gaetan Lepage
3461f890fa
plugins/vim-matchup: migrate to mkVimPlugin
2024-12-17 14:14:49 +00:00
Heitor Augusto
30895485c3
user-configs: add HeitorAugustoLN's configuration
2024-12-17 05:14:41 +00:00
Heitor Augusto
bfb08c1ab7
plugins/nix-develop: migrate to mkNeovimPlugin
2024-12-16 16:43:20 -03:00
Gaetan Lepage
6c30476a4d
plugins/plantuml-syntax: migrate to mkVimPlugin
2024-12-16 17:02:29 +00:00
Gaetan Lepage
471f68d9bb
plugins/vim-bbye: migrate to mkVimPlugin
2024-12-16 16:51:55 +00:00
Gaetan Lepage
a24ec7412e
plugins/intellitab: migrate to mkVimPlugin
2024-12-16 17:19:10 +01:00
Gaetan Lepage
9062a66ee9
plugins/gitmessenger: migrate to mkVimPlugin
2024-12-16 15:52:09 +01:00
Gaetan Lepage
ad87ec831b
dev/list-plugins: add flake check
2024-12-16 15:15:44 +01:00
Gaetan Lepage
12db5eaf8a
dev/list-plugins: add --root-path argument
2024-12-16 14:57:08 +01:00
Gaetan Lepage
bc3b99c4d9
dev/list-plugins: make it a proper package
2024-12-16 14:57:08 +01:00
Gaetan Lepage
0fb43cbfb6
dev/list-plugins: properly error out when parsing is unsuccessfull
2024-12-16 14:57:08 +01:00