From 4d8ea113f0b8d8d023c546d8f180ed3fdfb1a648 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 26 Oct 2019 22:25:18 +0200 Subject: [PATCH] Fix wrong example --- docs/matches.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/matches.md b/docs/matches.md index 8f3d3af..be40ea9 100644 --- a/docs/matches.md +++ b/docs/matches.md @@ -146,14 +146,14 @@ you could have used espanso like this: This would correctly replace `ther` with `there`, but it also has the problem of expanding `other` into `othere`, making it unusable. -With *word triggers* you can now add the `word: True` property to a match, telling espanso +With *word triggers* you can now add the `word: true` property to a match, telling espanso to only trigger that match if surrounded by *word separators* ( such as *spaces*, *commas* and *newlines*). So in this case it becomes: ```yaml - trigger: "ther" replace: "there" - word: True + word: true ``` At this point, espanso will only expand `ther` into `there` when used as a standalone word.