File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
import json
6
6
7
7
import_regex = """^(local\s+)?([\w\d_]+)\s*=\s*require\s*\(?['"]?(.+?)['"]?\)?$"""
8
- object_regex = """^(?:local\s+)?([\w\d_]+)\s*=\s*([.\w\d_]*?)(?:\. initialize)?(?:\:(?:new|get))?(\(.*\))$"""
8
+ object_regex = """^(?:local\s+)?([\w\d_]+)\s*=\s*([.\w\d_]*?)(?:(?:\.|:) initialize)?(?:\:(?:new|get))?(\(.*\))$"""
9
9
10
10
def is_summit_file (view ):
11
11
return view .match_selector (view .sel ()[0 ].a , "source.lua.summit" )
Original file line number Diff line number Diff line change 625
625
"contents": "salesforce.delete(${0:ids})",
626
626
"module": ["integration.salesforce", "integration.salesforce.delete"]
627
627
},{
628
- "trigger": "zoho. initialize(options)",
629
- "contents": "zoho. initialize(${0:options})",
628
+ "trigger": "zoho: initialize(options)",
629
+ "contents": "zoho: initialize(${0:options})",
630
630
"module": "integration.zoho"
631
631
},{
632
632
"trigger": "zoho:get(viewName)",
You can’t perform that action at this time.
0 commit comments