mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
Fix language-specific tab expansion and polish (#157035)
* Fix language-specific tab expansion and polish Fixes #156075 * Add back check
This commit is contained in:
@@ -140,7 +140,7 @@ function getNextAttribute(document: vscode.TextDocument, selectionStart: number,
|
||||
}
|
||||
|
||||
// Fetch the next word in the attr value
|
||||
if (attr.value.toString().indexOf(' ') === -1) {
|
||||
if (!attr.value.toString().includes(' ')) {
|
||||
// attr value does not have space, so no next word to find
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user