@@ -141,29 +141,29 @@ const registerHTMLProviders = (disposables: Disposable[]) =>
141
141
workspace . getConfiguration ( )
142
142
?. get < string [ ] > ( Configuration . HTMLLanguages )
143
143
?. forEach ( ( extension ) => {
144
- disposables . push ( registerCompletionProvider ( extension , / c l a s s = [ " | ' ] ( [ \w - ] * $ ) / ) ) ;
144
+ disposables . push ( registerCompletionProvider ( extension , / c l a s s = [ " | ' ] ( [ \w - @ : \/ ] * $ ) / ) ) ;
145
145
} ) ;
146
146
147
- const registerCSSProviders = ( disposables : Disposable [ ] ) =>
147
+ const registerCSSProviders = ( disposables : Disposable [ ] ) =>
148
148
workspace . getConfiguration ( )
149
149
. get < string [ ] > ( Configuration . CSSLanguages )
150
150
?. forEach ( ( extension ) => {
151
151
// The @apply rule was a CSS proposal which has since been abandoned,
152
152
// check the proposal for more info: http://tabatkins.github.io/specs/css-apply-rule/
153
153
// Its support should probably be removed
154
- disposables . push ( registerCompletionProvider ( extension , / @ a p p l y ( [ . \w - ] * $ ) / , "." ) ) ;
154
+ disposables . push ( registerCompletionProvider ( extension , / @ a p p l y ( [ . \w - @ : \/ ] * $ ) / , "." ) ) ;
155
155
} ) ;
156
156
157
157
const registerJavaScriptProviders = ( disposables : Disposable [ ] ) =>
158
158
workspace . getConfiguration ( )
159
159
. get < string [ ] > ( Configuration . JavaScriptLanguages )
160
160
?. forEach ( ( extension ) => {
161
- disposables . push ( registerCompletionProvider ( extension , / c l a s s N a m e = [ " | ' ] ( [ \w - ] * $ ) / ) ) ;
162
- disposables . push ( registerCompletionProvider ( extension , / c l a s s = [ " | ' ] ( [ \w - ] * $ ) / ) ) ;
161
+ disposables . push ( registerCompletionProvider ( extension , / c l a s s N a m e = [ " | ' ] ( [ \w - @ : \/ ] * $ ) / ) ) ;
162
+ disposables . push ( registerCompletionProvider ( extension , / c l a s s = [ " | ' ] ( [ \w - @ : \/ ] * $ ) / ) ) ;
163
163
} ) ;
164
164
165
165
function registerEmmetProviders ( disposables : Disposable [ ] ) {
166
- const emmetRegex = / (? = \. ) ( [ \w - . ] * $ ) / ;
166
+ const emmetRegex = / (? = \. ) ( [ \w - @ : \/ . ] * $ ) / ;
167
167
168
168
const registerProviders = ( modes : string [ ] ) => {
169
169
modes . forEach ( ( language ) => {
0 commit comments