branch: elpa/web-mode
commit 4833df593e4d8c8c904cc8bb4f882e718b4d791d
Merge: d8258fb33c 0fbf102616
Author: fxbois <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #1248 from andersk/handlebars-completion
    
    Fix ‘{{~’ completion for Handlebars
---
 web-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/web-mode.el b/web-mode.el
index 18b4a7e1ea..7f0b07109e 100644
--- a/web-mode.el
+++ b/web-mode.el
@@ -1227,9 +1227,10 @@ Must be used in conjunction with 
web-mode-enable-block-face."
                            ("<%=" . " | %>")
                            ("<%#" . " | %>")))
     ("ctemplate"        . (("{{ " . "| }}")
+                           ("{{~ " . "| }}")
                            ("{{{" . " | }}}")
                            ("{~{" . " | }}")
-                           ("{{~" . "{ | }}}")
+                           ("{{~{" . " | }}}")
                            ("{{!" . "-- | --}}")
                            ("{{^" . "}}")
                            ("{{/" . "}}")

Reply via email to