File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 227227 ]
228228 },
229229 {
230- "match" : " (?<!var)\\ s*(\\ w+(?:,\\ s*\\ w+)*)(?=\\ s*=(?!=))" ,
230+ "match" : " (?<!var)\\ s*(\\ w+(?:\\ . \\ w+)?(?: ,\\ s*\\ w+(?: \\ . \\ w+)? )*)(?=\\ s*=(?!=))" ,
231231 "captures" : {
232232 "1" : {
233233 "patterns" : [
236236 "name" : " invalid.illegal.identifier.go"
237237 },
238238 {
239- "match" : " \\ w+" ,
240- "name" : " variable.other.assignment.go"
239+ "match" : " \\ w+(?:\\ .\\ w+)?" ,
240+ "name" : " variable.other.assignment.go" ,
241+ "captures" : {
242+ "0" : {
243+ "patterns" : [
244+ {
245+ "include" : " #delimiters"
246+ }
247+ ]
248+ }
249+ }
241250 },
242251 {
243252 "include" : " #delimiters"
384393 },
385394 "patterns" : [
386395 {
387- "include" : " #imports "
396+ "include" : " #comments "
388397 },
389398 {
390- "include" : " #comments "
399+ "include" : " #imports "
391400 }
392401 ]
393402 }
538547 "variables" : {
539548 "patterns" : [
540549 {
541- "match" : " (\\ w+(?:,\\ s*\\ w+)*)(\\ s+\\ *?\\ w+\\ s*)?(?=\\ s*=)" ,
550+ "match" : " (\\ w+(?:,\\ s*\\ w+)*)(\\ s+\\ *?\\ w+(?: \\ . \\ w+)? \\ s*)?(?=\\ s*=)" ,
542551 "captures" : {
543552 "1" : {
544553 "patterns" : [
565574 }
566575 },
567576 {
568- "match" : " (\\ w+(?:,\\ s*\\ w+)*)(\\ s+(\\ [\\ d*\\ ])*\\ *?\\ w+\\ s*[^=].*)" ,
577+ "match" : " (\\ w+(?:,\\ s*\\ w+)*)(\\ s+(\\ [( \\ d*| \\ . \\ . \\ .) \\ ])*\\ *?\\ w+(?: \\ . \\ w+)? \\ s*[^=].*)" ,
569578 "captures" : {
570579 "1" : {
571580 "patterns" : [
616625 ]
617626 }
618627 },
619- "version" : " https://github.com/atom/language-go/commit/6de3f61efa8e8afb9ef0d5bc19c797c8469ec9f8 "
628+ "version" : " https://github.com/atom/language-go/commit/190bfd97cc97bd9228dc12feaa7329afb2e070fa "
620629}
You can’t perform that action at this time.
0 commit comments