mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the documentation.
This commit is contained in:
parent
2f13e3a21d
commit
af41ea2d80
38 changed files with 80 additions and 75 deletions
|
@ -55,8 +55,8 @@ in {
|
|||
helpers.mkNullOrOption
|
||||
(oneOf [
|
||||
str
|
||||
helpers.rawType
|
||||
(listOf (either str helpers.rawType))
|
||||
helpers.nixvimTypes.rawLua
|
||||
(listOf (either str helpers.nixvimTypes.rawLua))
|
||||
])
|
||||
"Post-install hook";
|
||||
|
||||
|
@ -67,11 +67,11 @@ in {
|
|||
"Luarocks dependencies";
|
||||
|
||||
config =
|
||||
helpers.mkNullOrOption (either str helpers.rawType)
|
||||
helpers.mkNullOrOption (either str helpers.nixvimTypes.rawLua)
|
||||
"Code to run after this plugin is loaded";
|
||||
|
||||
setup =
|
||||
helpers.mkNullOrOption (either str helpers.rawType)
|
||||
helpers.mkNullOrOption (either str helpers.nixvimTypes.rawLua)
|
||||
"Code to be run before this plugin is loaded";
|
||||
|
||||
cmd =
|
||||
|
@ -98,8 +98,8 @@ in {
|
|||
helpers.mkNullOrOption
|
||||
(oneOf [
|
||||
str
|
||||
helpers.rawType
|
||||
(listOf (either str helpers.rawType))
|
||||
helpers.nixvimTypes.rawLua
|
||||
(listOf (either str helpers.nixvimTypes.rawLua))
|
||||
])
|
||||
"Conditional test to load this plugin";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue