Skip to content

Commit

Permalink
Merge pull request #12 from esensar/bugfix/regex
Browse files Browse the repository at this point in the history
Improve regex syntax pattern
  • Loading branch information
SalGnt authored Dec 27, 2020
2 parents ed40c3b + 36bbc05 commit 23afc89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VimL.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
<array>
<dict>
<key>match</key>
<string>/(\\\\|\\/|\n[^\S\n]*\\|[^\n/])*/</string>
<string>[gvs]{1}/(\\\\|\\/|\n[^\S\n]*\\|[^\n/])*/</string>
<key>name</key>
<string>string.regexp.viml</string>
</dict>
Expand All @@ -286,7 +286,7 @@
<array>
<dict>
<key>match</key>
<string>\b(set(local|global)?|let|command|filetype|colorscheme|\w*map|\w*a(b|brev)?|syn|exe(c|cute)?|ec(ho|)?|au(tocmd|)?)\b</string>
<string>\b(set(local|global)?|let|command|filetype|syntax|colorscheme|\w*map|\w*a(b|brev)?|syn|exe(c|cute)?|ec(ho|)?|au(tocmd|)?)\b</string>
<key>name</key>
<string>support.function.viml</string>
</dict>
Expand Down

0 comments on commit 23afc89

Please sign in to comment.