mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
Fix indentation mapping
This commit is contained in:
@@ -16,7 +16,7 @@ const replaceStrings = [
|
||||
'import { filepaths } from \'../../helpers/filepaths\';'
|
||||
],
|
||||
];
|
||||
const indentSearch = [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1].map(e => new RegExp('^' + ' '.repeat(e * 2), 'g'));
|
||||
const indentSearch = [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1].map(e => new RegExp('^' + ' '.repeat(e * 2), 'gm'));
|
||||
const indentReplaceValue = [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1].map(e => '\t'.repeat(e));
|
||||
|
||||
const specSpecificReplaceStrings = new Map([
|
||||
|
||||
Reference in New Issue
Block a user