More trigger chars #29758

This commit is contained in:
Ramya Achutha Rao
2017-06-29 17:18:33 -07:00
parent 7910b3d7ba
commit e7de8b2536
3 changed files with 12 additions and 12 deletions

View File

@@ -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"
}
}
}

View File

@@ -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"
}
}

View 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