File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33 "scopeName" : " source.lua" ,
44 "patterns" : [
55 {
6- "begin" : " \\ b(?:(local)\\ s+)?(function)\\ b(?!, )" ,
6+ "begin" : " \\ b(?:(local)\\ s+)?(function)\\ b(?![,:] )" ,
77 "beginCaptures" : {
88 "1" : {
99 "name" : " keyword.local.lua"
145145 "name" : " keyword.local.lua"
146146 },
147147 {
148- "match" : " \\ b(function)\\ b(?!, )" ,
148+ "match" : " \\ b(function)\\ b(?![,:] )" ,
149149 "name" : " keyword.control.lua"
150150 },
151151 {
152- "match" : " (?<![^.]\\ .|:)\\ b(false|nil|true|_ENV|_G|_VERSION|math\\ .(pi|huge|maxinteger|mininteger)|utf8\\ .charpattern|io\\ .(stdin|stdout|stderr)|package\\ .(config|cpath|loaded|loaders|path|preload|searchers))\\ b|(?<![.])\\ .{3}(?!\\ .)" ,
152+ "match" : " (?<![^.]\\ .|:)\\ b(false|nil(?!:) |true|_ENV|_G|_VERSION|math\\ .(pi|huge|maxinteger|mininteger)|utf8\\ .charpattern|io\\ .(stdin|stdout|stderr)|package\\ .(config|cpath|loaded|loaders|path|preload|searchers))\\ b|(?<![.])\\ .{3}(?!\\ .)" ,
153153 "name" : " constant.language.lua"
154154 },
155155 {
You can’t perform that action at this time.
0 commit comments