This repository was archived by the owner on Aug 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2133
-2548
lines changed Expand file tree Collapse file tree 3 files changed +2133
-2548
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ const getConfig = async (filePath) => {
33
33
return null ;
34
34
} ;
35
35
36
- const phpScopedEditor = editor => (
37
- editor . getCursors ( ) . some ( cursor => (
38
- cursor . getScopeDescriptor ( ) . getScopesArray ( ) . some ( scope => (
36
+ const phpScopedEditor = ( editor ) => (
37
+ editor . getCursors ( ) . some ( ( cursor ) => (
38
+ cursor . getScopeDescriptor ( ) . getScopesArray ( ) . some ( ( scope ) => (
39
39
scope === phpEmbeddedScope
40
40
) )
41
41
) )
42
42
) ;
43
43
44
- const removePHP = str => str . replace ( / < \? (?: p h p | = ) ? (?: [ \s \S ] ) + ?\? > / gi, ( match ) => {
44
+ const removePHP = ( str ) => str . replace ( / < \? (?: p h p | = ) ? (?: [ \s \S ] ) + ?\? > / gi, ( match ) => {
45
45
const newlines = match . match ( / \r ? \n | \r / g) ;
46
46
const newlineCount = newlines ? newlines . length : 0 ;
47
47
@@ -102,7 +102,7 @@ export default {
102
102
} ,
103
103
104
104
deactivate ( ) {
105
- this . idleCallbacks . forEach ( callbackID => window . cancelIdleCallback ( callbackID ) ) ;
105
+ this . idleCallbacks . forEach ( ( callbackID ) => window . cancelIdleCallback ( callbackID ) ) ;
106
106
this . idleCallbacks . clear ( ) ;
107
107
this . subscriptions . dispose ( ) ;
108
108
} ,
You can’t perform that action at this time.
0 commit comments