File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,8 @@ export function activate(context: vsc.ExtensionContext) {
184184 'php' ,
185185 'twig' ,
186186 'md' ,
187- 'javascriptreact'
187+ 'javascriptreact' ,
188+ 'erb'
188189 ] , classServer ) ) ;
189190
190191 let wp = / ( - ? \d * \. \d \w * ) | ( [ ^ \` \~ \! \@ \# \% \^ \& \* \( \) \= \+ \[ \{ \] \} \\ \| \; \: \' \. \" \, \< \> \/ \? \s ] + ) / g;
@@ -200,6 +201,7 @@ export function activate(context: vsc.ExtensionContext) {
200201 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'twig' , { wordPattern : wp } ) ) ;
201202 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'md' , { wordPattern : wp } ) ) ;
202203 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'javascriptreact' , { wordPattern : wp } ) ) ;
204+ context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'erb' , { wordPattern : wp } ) ) ;
203205
204206 context . subscriptions . push ( vsc . workspace . onDidChangeConfiguration ( ( e ) => parseRemoteConfig ( ) ) ) ;
205207}
You can’t perform that action at this time.
0 commit comments