Skip to content

Commit

Permalink
update mian read me and package json
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Jul 25, 2016
1 parent 0361c30 commit 44608f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ Sample code illustrating the VS Code extension APIs.
* [Editor Decoration](/decorator-sample/README.md)
* [Virtual Documents](/contentprovider-sample/README.md)
* [Preview Html](/previewhtml-sample/README.md)
* [Vim](/vim-sample/README.md)

# How to run locally

* `git clone`
* `npm run install-all`
* run one of `npm run compile-decorator`, `npm run compile-previewhtml`, or `compile-contentprovider`
* run one of `npm run compile-decorator`, `npm run compile-previewhtml`, or `compile-contentprovider`
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vsc-extension-samples",
"publisher": "Microsoft",
"scripts": {
"install-all": "npm --prefix decorator-sample i decorator-sample && npm --prefix previewhtml-sample i previewhtml-sample && npm --prefix contentprovider-sample i contentprovider-sample",
"install-all": "npm --prefix decorator-sample i decorator-sample && npm --prefix previewhtml-sample i previewhtml-sample && npm --prefix contentprovider-sample i contentprovider-sample && npm --prefix vim-sample i vim-sample",
"compile-decorator": "cd decorator-sample && npm run compile",
"compile-previewhtml": "cd previewhtml-sample && npm run compile",
"compile-contentprovider": "cd contentprovider-sample && npm run compile"
Expand Down
2 changes: 1 addition & 1 deletion vim-sample/src/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class Controller implements IController {
private _interpretNormalModeInput(editor: TextEditor): Thenable<ITypeResult> {
if (this._currentInput.startsWith(':')) {
return vscode.window.showInputBox({value: 'tabm'}).then((value) => {
let result = this._findMapping(value, editor);
let result = this._findMapping(value || '', editor);
return Promise.resolve(result);
});
}
Expand Down

0 comments on commit 44608f9

Please sign in to comment.