branch: elpa/web-mode
commit 256137e5aade862dce7da0737ef069e67d7ac5fd
Author: Tom Willemse <t...@ryuslash.org>
Commit: Tom Willemse <t...@ryuslash.org>

    Allow ‘.’ in Vue attributes
    
    This adds support for attributes like ‘@click.single="..."’ or 
‘@submit.prevent’
    which were not fontified as Vue-specific attributes before.
---
 web-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web-mode.el b/web-mode.el
index 483283e4c3..a4c1fb21d8 100644
--- a/web-mode.el
+++ b/web-mode.el
@@ -3830,7 +3830,7 @@ Also return non-nil if it is the command 
`self-insert-command' is remapped to."
 
           ((string= web-mode-engine "vue")
            (cond
-             ((string-match-p "[:@][-[:alpha:]]+=\"" tagopen)
+             ((string-match-p "[:@][-[:alpha:].]+=\"" tagopen)
               (setq closing-string "\""
                     delim-open tagopen
                     delim-close "\""))

Reply via email to