Skip to content

Commit 74e5dc4

Browse files
committed
plugins/qmk: add default values for name and layout options
1 parent 5d1f730 commit 74e5dc4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/languages/qmk.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ helpers.neovim-plugin.mkNeovimPlugin config {
1616
settingsOptions = {
1717
name = mkOption {
1818
type = types.str;
19+
default = "";
1920
example = "LAYOUT_preonic_grid";
2021
description = ''
2122
The name of your layout, for example `LAYOUT_preonic_grid` for the preonic keyboard, for
@@ -25,6 +26,7 @@ helpers.neovim-plugin.mkNeovimPlugin config {
2526

2627
layout = mkOption {
2728
type = with types; listOf str;
29+
default = [ ];
2830
example = [
2931
"x x"
3032
"x^x"

0 commit comments

Comments
 (0)