提交 e7de8b25 编写于 作者: R Ramya Achutha Rao

More trigger chars #29758

上级 7910b3d7
......@@ -118,9 +118,9 @@
"resolved": "https://registry.npmjs.org/@emmetio/variable-resolver/-/variable-resolver-0.2.1.tgz"
},
"vscode-emmet-helper": {
"version": "0.0.15",
"from": "vscode-emmet-helper@0.0.15",
"resolved": "https://registry.npmjs.org/vscode-emmet-helper/-/vscode-emmet-helper-0.0.15.tgz"
"version": "0.0.16",
"from": "vscode-emmet-helper@0.0.16",
"resolved": "https://registry.npmjs.org/vscode-emmet-helper/-/vscode-emmet-helper-0.0.16.tgz"
}
}
}
......@@ -73,6 +73,6 @@
"@emmetio/html-matcher": "^0.3.1",
"@emmetio/css-parser": "^0.3.0",
"@emmetio/math-expression": "^0.1.1",
"vscode-emmet-helper":"0.0.15"
"vscode-emmet-helper":"0.0.16"
}
}
\ No newline at end of file
......@@ -10,19 +10,19 @@ import { DocumentStreamReader } from './bufferStream';
import { isStyleSheet } from 'vscode-emmet-helper';
export const LANGUAGE_MODES: Object = {
'html': ['!', '.', '}', ':'],
'jade': ['!', '.', '}', ':'],
'slim': ['!', '.', '}', ':'],
'haml': ['!', '.', '}', ':'],
'xml': ['.', '}'],
'xsl': ['.', '}'],
'html': ['!', '.', '}', ':', '*', '$'],
'jade': ['!', '.', '}', ':', '*', '$'],
'slim': ['!', '.', '}', ':', '*', '$'],
'haml': ['!', '.', '}', ':', '*', '$'],
'xml': ['.', '}', '*', '$'],
'xsl': ['.', '}', '*', '$'],
'css': [':'],
'scss': [':'],
'sass': [':'],
'less': [':'],
'stylus': [':'],
'javascriptreact': ['.', '}'],
'typescriptreact': ['.', '}']
'javascriptreact': ['.', '}', '*', '$'],
'typescriptreact': ['.', '}', '*', '$']
};
// Explicitly map languages that have built-in grammar in VS Code to their parent language
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册