mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Fix spelling of the example abbreviation (e.g.)
This commit is contained in:
committed by
Alex Ross
parent
41a6a0a378
commit
f3e4e47164
@@ -491,7 +491,7 @@ export function isValidLocationForEmmetAbbreviation(document: vscode.TextDocumen
|
||||
}
|
||||
|
||||
let valid = true;
|
||||
let foundSpace = false; // If < is found before finding whitespace, then its valid abbreviation. Eg: <div|
|
||||
let foundSpace = false; // If < is found before finding whitespace, then its valid abbreviation. E.g.: <div|
|
||||
let i = textToBackTrack.length - 1;
|
||||
if (textToBackTrack[i] === startAngle) {
|
||||
return false;
|
||||
|
||||
@@ -95,7 +95,7 @@ export function getMappingForIncludedLanguages(): any {
|
||||
|
||||
/**
|
||||
* Get the corresponding emmet mode for given vscode language mode
|
||||
* Eg: jsx for typescriptreact/javascriptreact or pug for jade
|
||||
* E.g.: jsx for typescriptreact/javascriptreact or pug for jade
|
||||
* If the language is not supported by emmet or has been excluded via `excludeLanguages` setting,
|
||||
* then nothing is returned
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user