mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-19 08:07:28 +03:00
Modified newest changes
This commit is contained in:
parent
34cf2ffa3f
commit
eae1835961
@ -54,6 +54,13 @@ gulp.task(
|
||||
])
|
||||
);
|
||||
|
||||
gulp.task(
|
||||
'forceprettier',
|
||||
shell.task([
|
||||
' find . | grep ".*\\.[t|j]s$" | xargs ./node_modules/prettier/bin/prettier.js --write --print-width 100 --single-quote --trailing-comma es5 ',
|
||||
])
|
||||
);
|
||||
|
||||
gulp.task('default', ['prettier', 'tslint', 'compile']);
|
||||
|
||||
gulp.task('compile', shell.task(['npm run vscode:prepublish']));
|
||||
|
@ -2328,7 +2328,7 @@ class CommandQuit extends BaseCommand {
|
||||
@RegisterAction
|
||||
class CommandOnly extends BaseCommand {
|
||||
modes = [ModeName.Normal];
|
||||
keys = [["<C-w>", "o"], ["<C-w>", "C-o"]];
|
||||
keys = [['<C-w>', 'o'], ['<C-w>', 'C-o']];
|
||||
|
||||
public async exec(position: Position, vimState: VimState): Promise<VimState> {
|
||||
new OnlyCommand({}).execute();
|
||||
|
@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
import * as vscode from "vscode";
|
||||
import * as node from "../node";
|
||||
import * as vscode from 'vscode';
|
||||
import * as node from '../node';
|
||||
|
||||
export class OnlyCommand extends node.CommandBase {
|
||||
protected _arguments: {};
|
||||
@ -18,7 +18,7 @@ export class OnlyCommand extends node.CommandBase {
|
||||
}
|
||||
|
||||
async execute(): Promise<void> {
|
||||
await vscode.commands.executeCommand("workbench.action.closeEditorsInOtherGroups");
|
||||
return;
|
||||
await vscode.commands.executeCommand('workbench.action.closeEditorsInOtherGroups');
|
||||
return;
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
import * as node from "../commands/only";
|
||||
import * as node from '../commands/only';
|
||||
|
||||
export function parseOnlyCommandArgs(args: string): node.OnlyCommand {
|
||||
return new node.OnlyCommand({});
|
||||
|
Loading…
Reference in New Issue
Block a user