Skip to content

Commit b353dc7

Browse files
committed
Change 'wordPattern' to be more yaml specific
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
1 parent ad35571 commit b353dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
"increaseIndentPattern": "^\\s*.*(:|-) ?(&amp;\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",
3535
"decreaseIndentPattern": "^\\s+\\}$"
3636
},
37-
"wordPattern": "(\"(?:[^\\\\\"]*(?:\\\\.)?)*\"?)|[^\\s{}\\[\\],:]+"
37+
"wordPattern": "(^.?[^\\s]+)+|([^\\s\n={[][\\w\\-\\.\/$%&*:\"']+)"
3838
}

0 commit comments

Comments
 (0)