From b1a9f8483bc91abd9ceba31768429d665b1ab333 Mon Sep 17 00:00:00 2001 From: rebornix Date: Thu, 4 May 2017 14:36:28 -0700 Subject: [PATCH] Absolute path resolution. --- src/actions/commands/actions.ts | 36 ++++++++++++++++----------------- tsconfig.json | 3 ++- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/actions/commands/actions.ts b/src/actions/commands/actions.ts index 1019ca95465..f8e0764e80d 100644 --- a/src/actions/commands/actions.ts +++ b/src/actions/commands/actions.ts @@ -1,22 +1,22 @@ -import { RecordedState, VimState } from './../../mode/modeHandler'; -import { SearchState, SearchDirection } from './../../state/searchState'; -import { ReplaceState } from './../../state/replaceState'; -import { VisualBlockMode } from './../../mode/modeVisualBlock'; -import { ModeName } from './../../mode/mode'; -import { VisualBlockInsertionType } from './../../mode/modeVisualBlock'; -import { Range } from './../../common/motion/range'; -import { TextEditor, EditorScrollByUnit, EditorScrollDirection } from './../../textEditor'; -import { Register, RegisterMode } from './../../register/register'; -import { NumericString } from './../../common/number/numericString'; -import { Position, PositionDiff } from './../../common/motion/position'; -import { Tab, TabCommand } from './../../cmd_line/commands/tab'; -import { Configuration } from './../../configuration/configuration'; -import { allowVSCodeToPropagateCursorUpdatesAndReturnThem } from '../../util'; -import { isTextTransformation } from './../../transformations/transformations'; -import { FileCommand } from './../../cmd_line/commands/file'; -import { QuitCommand } from './../../cmd_line/commands/quit'; +import { RecordedState, VimState } from 'src/mode/modeHandler'; +import { SearchState, SearchDirection } from 'src/state/searchState'; +import { ReplaceState } from 'src/state/replaceState'; +import { VisualBlockMode } from 'src/mode/modeVisualBlock'; +import { ModeName } from 'src/mode/mode'; +import { VisualBlockInsertionType } from 'src/mode/modeVisualBlock'; +import { Range } from 'src/common/motion/range'; +import { TextEditor, EditorScrollByUnit, EditorScrollDirection } from 'src/textEditor'; +import { Register, RegisterMode } from 'src/register/register'; +import { NumericString } from 'src/common/number/numericString'; +import { Position, PositionDiff } from 'src/common/motion/position'; +import { Tab, TabCommand } from 'src/cmd_line/commands/tab'; +import { Configuration } from 'src/configuration/configuration'; +import { allowVSCodeToPropagateCursorUpdatesAndReturnThem } from 'src/util'; +import { isTextTransformation } from 'src/transformations/transformations'; +import { FileCommand } from 'src/cmd_line/commands/file'; +import { QuitCommand } from 'src//cmd_line/commands/quit'; import * as vscode from 'vscode'; -import * as util from './../../util'; +import * as util from 'src/util'; import { RegisterAction } from './../base'; import * as operator from './../operator'; import { BaseAction } from './../base'; diff --git a/tsconfig.json b/tsconfig.json index 38935262b5b..9241e89f5d3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,8 @@ ], "sourceMap": true, "strictNullChecks": true, - "experimentalDecorators": true + "experimentalDecorators": true, + "baseUrl": "." }, "exclude": [ "node_modules",