Skip to content

Commit

Permalink
plugins/qmk: add default values for name and layout options
Browse files Browse the repository at this point in the history
  • Loading branch information
psfloyd committed Jul 15, 2024
1 parent 5d1f730 commit 74e5dc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/languages/qmk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ helpers.neovim-plugin.mkNeovimPlugin config {
settingsOptions = {
name = mkOption {
type = types.str;
default = "";
example = "LAYOUT_preonic_grid";
description = ''
The name of your layout, for example `LAYOUT_preonic_grid` for the preonic keyboard, for
Expand All @@ -25,6 +26,7 @@ helpers.neovim-plugin.mkNeovimPlugin config {

layout = mkOption {
type = with types; listOf str;
default = [ ];
example = [
"x x"
"x^x"
Expand Down

0 comments on commit 74e5dc4

Please sign in to comment.