summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Stücklberger <stuecklberger@users.noreply.github.com>2021-05-19 17:10:29 +0200
committerGitHub <noreply@github.com>2021-05-19 11:10:29 -0400
commit8196b1d46b54883758f9b153da0445fd1a641971 (patch)
tree0d8302b036d86237774fa21a50619e7134e00202 /docs
parent5b86fdd876ed1b0b58fd70ab4208265ba9584b55 (diff)
fix(docs): Add missing semicolon to examples
Co-authored-by: Christian Stücklberger <christian.stuecklberger@ergon.ch>
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/behaviors/hold-tap.md2
-rw-r--r--docs/docs/behaviors/mod-morph.md23
-rw-r--r--docs/docs/behaviors/mod-tap.md4
-rw-r--r--docs/docs/behaviors/sticky-key.md4
-rw-r--r--docs/docs/behaviors/sticky-layer.md4
5 files changed, 18 insertions, 19 deletions
diff --git a/docs/docs/behaviors/hold-tap.md b/docs/docs/behaviors/hold-tap.md
index 957744b..e1627c7 100644
--- a/docs/docs/behaviors/hold-tap.md
+++ b/docs/docs/behaviors/hold-tap.md
@@ -56,7 +56,7 @@ For example, if you press `&mt LEFT_SHIFT A` and then release it without pressin
```
&mt {
retro-tap;
-}
+};
```
#### Home row mods
diff --git a/docs/docs/behaviors/mod-morph.md b/docs/docs/behaviors/mod-morph.md
index cbb9a56..2606aaf 100644
--- a/docs/docs/behaviors/mod-morph.md
+++ b/docs/docs/behaviors/mod-morph.md
@@ -22,21 +22,20 @@ An example of how to implement the mod-morph "Grave Escape":
```
/ {
-behaviors {
- gresc: grave_escape {
- compatible = "zmk,behavior-mod-morph";
- label = "GRAVE_ESCAPE";
- #binding-cells = <0>;
- bindings = <&kp ESC>, <&kp GRAVE>;
- mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
- }
-
-};
+ behaviors {
+ gresc: grave_escape {
+ compatible = "zmk,behavior-mod-morph";
+ label = "GRAVE_ESCAPE";
+ #binding-cells = <0>;
+ bindings = <&kp ESC>, <&kp GRAVE>;
+ mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
+ };
+ };
keymap {
...
- }
-}
+ };
+};
```
Note that this specific mod-morph exists in ZMK by default using code `&gresc`.
diff --git a/docs/docs/behaviors/mod-tap.md b/docs/docs/behaviors/mod-tap.md
index bd08a38..3238092 100644
--- a/docs/docs/behaviors/mod-tap.md
+++ b/docs/docs/behaviors/mod-tap.md
@@ -40,8 +40,8 @@ You can configure a different tapping term in your keymap:
/ {
keymap {
...
- }
-}
+ };
+};
```
### Additional information
diff --git a/docs/docs/behaviors/sticky-key.md b/docs/docs/behaviors/sticky-key.md
index d5627dc..3f7eb51 100644
--- a/docs/docs/behaviors/sticky-key.md
+++ b/docs/docs/behaviors/sticky-key.md
@@ -38,8 +38,8 @@ You can configure a different `release-after-ms` in your keymap:
/ {
keymap {
...
- }
-}
+ };
+};
```
### Advanced usage
diff --git a/docs/docs/behaviors/sticky-layer.md b/docs/docs/behaviors/sticky-layer.md
index 597ed9f..d7c794d 100644
--- a/docs/docs/behaviors/sticky-layer.md
+++ b/docs/docs/behaviors/sticky-layer.md
@@ -32,8 +32,8 @@ You can configure a different `release-after-ms` in your keymap:
/ {
keymap {
...
- }
-}
+ };
+};
```
### Advanced usage