Skip to content

Commit 4ac8de0

Browse files
committed
run ./go/generate.sh
1 parent 4124190 commit 4ac8de0

File tree

3 files changed

+506
-71
lines changed

3 files changed

+506
-71
lines changed

go/builtin_commands.go

Lines changed: 27 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/vimlfunc.go

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@ var patVim2Go = map[string]string{
2020
"\\<USECTRLV\\>": "\\bUSECTRLV\\b",
2121
"\\<USERCMD\\>": "\\bUSERCMD\\b",
2222
"\\<\\(XFILE\\|FILES\\|FILE1\\)\\>": "\\b(XFILE|FILES|FILE1)\\b",
23-
"\\S": "\\S",
24-
"\\a": "[A-Za-z]",
25-
"\\d": "\\d",
26-
"\\h": "[A-Za-z_]",
27-
"\\s": "\\s",
28-
"\\v^d%[elete][lp]$": "^d(elete|elet|ele|el|e)[lp]$",
23+
"\\S": "\\S",
24+
"\\a": "[A-Za-z]",
25+
"\\d": "\\d",
26+
"\\h": "[A-Za-z_]",
27+
"\\s": "\\s",
28+
"\\v^d%[elete][lp]$": "^d(elete|elet|ele|el|e)[lp]$",
2929
"\\v^s%(c[^sr][^i][^p]|g|i[^mlg]|I|r[^e])": "^s(c[^sr][^i][^p]|g|i[^mlg]|I|r[^e])",
30-
"\\w": "[0-9A-Za-z_]",
31-
"\\w\\|[:#]": "[0-9A-Za-z_]|[:#]",
32-
"\\x": "[0-9A-Fa-f]",
33-
"^++": "^\\+\\+",
34-
"^++bad=\\(keep\\|drop\\|.\\)\\>": "^\\+\\+bad=(keep|drop|.)\\b",
35-
"^++bad=drop": "^\\+\\+bad=drop",
36-
"^++bad=keep": "^\\+\\+bad=keep",
37-
"^++bin\\>": "^\\+\\+bin\\b",
38-
"^++edit\\>": "^\\+\\+edit\\b",
39-
"^++enc=\\S": "^\\+\\+enc=\\S",
40-
"^++encoding=\\S": "^\\+\\+encoding=\\S",
41-
"^++ff=\\(dos\\|unix\\|mac\\)\\>": "^\\+\\+ff=(dos|unix|mac)\\b",
42-
"^++fileformat=\\(dos\\|unix\\|mac\\)\\>": "^\\+\\+fileformat=(dos|unix|mac)\\b",
43-
"^++nobin\\>": "^\\+\\+nobin\\b",
44-
"^[A-Z]": "^[A-Z]",
45-
"^\\$\\w\\+": "^\\$[0-9A-Za-z_]+",
46-
"^\\(!\\|global\\|vglobal\\)$": "^(!|global|vglobal)$",
47-
"^\\(WHILE\\|FOR\\)$": "^(WHILE|FOR)$",
30+
"\\w": "[0-9A-Za-z_]",
31+
"\\w\\|[:#]": "[0-9A-Za-z_]|[:#]",
32+
"\\x": "[0-9A-Fa-f]",
33+
"^++": "^\\+\\+",
34+
"^++bad=\\(keep\\|drop\\|.\\)\\>": "^\\+\\+bad=(keep|drop|.)\\b",
35+
"^++bad=drop": "^\\+\\+bad=drop",
36+
"^++bad=keep": "^\\+\\+bad=keep",
37+
"^++bin\\>": "^\\+\\+bin\\b",
38+
"^++edit\\>": "^\\+\\+edit\\b",
39+
"^++enc=\\S": "^\\+\\+enc=\\S",
40+
"^++encoding=\\S": "^\\+\\+encoding=\\S",
41+
"^++ff=\\(dos\\|unix\\|mac\\)\\>": "^\\+\\+ff=(dos|unix|mac)\\b",
42+
"^++fileformat=\\(dos\\|unix\\|mac\\)\\>": "^\\+\\+fileformat=(dos|unix|mac)\\b",
43+
"^++nobin\\>": "^\\+\\+nobin\\b",
44+
"^[A-Z]": "^[A-Z]",
45+
"^\\$\\w\\+": "^\\$[0-9A-Za-z_]+",
46+
"^\\(!\\|global\\|vglobal\\)$": "^(!|global|vglobal)$",
47+
"^\\(WHILE\\|FOR\\)$": "^(WHILE|FOR)$",
4848
"^\\(vimgrep\\|vimgrepadd\\|lvimgrep\\|lvimgrepadd\\)$": "^(vimgrep|vimgrepadd|lvimgrep|lvimgrepadd)$",
4949
"^\\d": "^\\d",
5050
"^\\h": "^[A-Za-z_]",

0 commit comments

Comments
 (0)