File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Missing CSS support for HTML documents.
2121- jade
2222- handlebars
2323- php
24+ - twig
2425
2526## Remote Style Sheets
2627
Original file line number Diff line number Diff line change 22 "name" : " vscode-html-css" ,
33 "displayName" : " HTML CSS Support" ,
44 "description" : " CSS support for HTML documents" ,
5- "version" : " 0.1.3 " ,
5+ "version" : " 0.1.4 " ,
66 "publisher" : " ecmel" ,
77 "license" : " MIT" ,
88 "homepage" : " https://github.com/ecmel/vscode-html-css" ,
4646 " onLanguage:pug" ,
4747 " onLanguage:jade" ,
4848 " onLanguage:handlebars" ,
49- " onLanguage:php"
49+ " onLanguage:php" ,
50+ " onLanguage:twig"
5051 ],
5152 "main" : " ./out/src/extension" ,
5253 "scripts" : {
Original file line number Diff line number Diff line change @@ -181,7 +181,8 @@ export function activate(context: vsc.ExtensionContext) {
181181 'pug' ,
182182 'jade' ,
183183 'handlebars' ,
184- 'php'
184+ 'php' ,
185+ 'twig'
185186 ] , classServer ) ) ;
186187
187188 let wp = / ( - ? \d * \. \d \w * ) | ( [ ^ \` \~ \! \@ \# \% \^ \& \* \( \) \= \+ \[ \{ \] \} \\ \| \; \: \' \. \" \, \< \> \/ \? \s ] + ) / g;
@@ -194,6 +195,8 @@ export function activate(context: vsc.ExtensionContext) {
194195 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'jade' , { wordPattern : wp } ) ) ;
195196 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'handlebars' , { wordPattern : wp } ) ) ;
196197 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'php' , { wordPattern : wp } ) ) ;
198+ context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'twig' , { wordPattern : wp } ) ) ;
199+
197200 context . subscriptions . push ( vsc . workspace . onDidChangeConfiguration ( ( e ) => parseRemoteConfig ( ) ) ) ;
198201}
199202
You can’t perform that action at this time.
0 commit comments