mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-08-17 00:00:26 +03:00
As a side-effect, our linting just got substantially stricter, and this had to be a pretty wide-reaching change to comply. Sorry if this complicates any merges!
24 lines
653 B
TypeScript
24 lines
653 B
TypeScript
/**
|
|
* Extension.ts is a lightweight wrapper around ModeHandler. It converts key
|
|
* events to their string names and passes them on to ModeHandler via
|
|
* handleKeyEvent().
|
|
*/
|
|
import './src/actions/include-main';
|
|
|
|
/**
|
|
* Load configuration validator
|
|
*/
|
|
|
|
import './src/configuration/validators/inputMethodSwitcherValidator';
|
|
import './src/configuration/validators/remappingValidator';
|
|
|
|
import * as vscode from 'vscode';
|
|
import { activate as activateFunc } from './extensionBase';
|
|
|
|
// tslint:disable-next-line: no-var-requires
|
|
require('setimmediate');
|
|
|
|
export async function activate(context: vscode.ExtensionContext) {
|
|
activateFunc(context, false);
|
|
}
|