mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 19:40:06 +02:00
plugins/lzn-auto-require: init
This commit is contained in:
parent
e7e6cfd32b
commit
175b7a47de
2 changed files with 44 additions and 0 deletions
16
plugins/by-name/lzn-auto-require/default.nix
Normal file
16
plugins/by-name/lzn-auto-require/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "lzn-auto-require";
|
||||
description = ''
|
||||
Auto load optional plugins via lua modules with `lz.n`.
|
||||
|
||||
This plugin overrides the `require` function to also search for plugins in
|
||||
`{packpath}/*/opt` and load them using `lz.n`.
|
||||
'';
|
||||
|
||||
hasSettings = false;
|
||||
setup = ".enable";
|
||||
configLocation = lib.mkOrder 5000 "extraConfigLuaPost"; # Register after everything to catch mistates
|
||||
|
||||
maintainers = [ lib.maintainers.axka ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue