Revert "Fix language-specific tab expansion and polish (#157035)" (#160233)

This reverts commit 9f80085795.
This commit is contained in:
Raymond Zhao
2022-09-06 15:21:34 -07:00
committed by GitHub
parent 50cdf1d71b
commit 50140a53cc
5 changed files with 36 additions and 42 deletions

View File

@@ -140,7 +140,7 @@ function getNextAttribute(document: vscode.TextDocument, selectionStart: number,
}
// Fetch the next word in the attr value
if (!attr.value.toString().includes(' ')) {
if (attr.value.toString().indexOf(' ') === -1) {
// attr value does not have space, so no next word to find
continue;
}