We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7c7851 commit a107b54Copy full SHA for a107b54
modules/plugins/languages/wgsl.nix
@@ -9,7 +9,7 @@
9
inherit (lib.modules) mkIf mkMerge;
10
inherit (lib.nvim.lua) expToLua;
11
inherit (lib.nvim.types) mkGrammarOption;
12
- inherit (lib.options) mkEnableOption mkOption;
+ inherit (lib.options) literalExpression mkEnableOption mkOption;
13
inherit (lib.types) either enum listOf package str;
14
15
cfg = config.vim.languages.wgsl;
@@ -52,6 +52,7 @@ in {
52
53
package = mkOption {
54
description = "wgsl-analyzer package, or the command to run as a list of strings";
55
+ example = literalExpression "[(lib.getExe pkgs.wgsl-analyzer)]";
56
type = either package (listOf str);
57
default = pkgs.wgsl-analyzer;
58
};
0 commit comments