mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 18:31:35 +00:00
plugins: switch to mkLuaInline
This commit is contained in:
parent
77d3cd5e0c
commit
5d8eb192d7
8 changed files with 80 additions and 79 deletions
|
@ -2,6 +2,7 @@
|
|||
inherit (lib.modules) mkRemovedOptionModule mkRenamedOptionModule;
|
||||
inherit (lib.options) mkEnableOption mkOption literalExpression;
|
||||
inherit (lib.types) bool int str enum nullOr listOf;
|
||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||
in {
|
||||
imports =
|
||||
[
|
||||
|
@ -22,7 +23,7 @@ in {
|
|||
options.vim.presence.neocord = {
|
||||
enable = mkEnableOption "neocord plugin for discord rich presence";
|
||||
|
||||
setupOpts = lib.nvim.mkPluginSetupOption "neocord" {
|
||||
setupOpts = mkPluginSetupOption "neocord" {
|
||||
logo = mkOption {
|
||||
type = str; # TODO: can the default be documented better, maybe with an enum?
|
||||
default = "auto";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue