mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 12:25:59 +03:00
fix: prettier things
This commit is contained in:
parent
17ff2097a6
commit
f9942b0e7d
@ -287,24 +287,14 @@ class Configuration implements IConfiguration {
|
||||
@overlapSetting({
|
||||
settingName: 'lineNumbers',
|
||||
defaultValue: true,
|
||||
map: new Map([
|
||||
['on', true],
|
||||
['off', false],
|
||||
['relative', false],
|
||||
['interval', false],
|
||||
]),
|
||||
map: new Map([['on', true], ['off', false], ['relative', false], ['interval', false]]),
|
||||
})
|
||||
number: boolean;
|
||||
|
||||
@overlapSetting({
|
||||
settingName: 'lineNumbers',
|
||||
defaultValue: false,
|
||||
map: new Map([
|
||||
['on', false],
|
||||
['off', false],
|
||||
['relative', true],
|
||||
['interval', false],
|
||||
]),
|
||||
map: new Map([['on', false], ['off', false], ['relative', true], ['interval', false]]),
|
||||
})
|
||||
relativenumber: boolean;
|
||||
|
||||
|
@ -107,7 +107,9 @@ export class Remapper implements IRemapper {
|
||||
await vimState.historyTracker.undoAndRemoveChanges(
|
||||
Math.max(0, numCharsToRemove * vimState.allCursors.length)
|
||||
);
|
||||
vimState.allCursors = vimState.allCursors.map(x => x.withNewStop(x.stop.getLeft(numCharsToRemove)));
|
||||
vimState.allCursors = vimState.allCursors.map(x =>
|
||||
x.withNewStop(x.stop.getLeft(numCharsToRemove))
|
||||
);
|
||||
}
|
||||
|
||||
// We need to remove the keys that were remapped into different keys
|
||||
|
@ -66,9 +66,7 @@ export class HistoryFile {
|
||||
mkdirp.sync(this._historyDir, 0o775);
|
||||
}
|
||||
} catch (err) {
|
||||
logger.error(
|
||||
`Failed to create directory. path=${this._historyDir}. err=${err}.`
|
||||
);
|
||||
logger.error(`Failed to create directory. path=${this._historyDir}. err=${err}.`);
|
||||
reject(err);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user