aboutsummaryrefslogtreecommitdiff
path: root/atom/packages/ex-mode/lib/view-model.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'atom/packages/ex-mode/lib/view-model.coffee')
-rw-r--r--atom/packages/ex-mode/lib/view-model.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/atom/packages/ex-mode/lib/view-model.coffee b/atom/packages/ex-mode/lib/view-model.coffee
index af96e77..742d751 100644
--- a/atom/packages/ex-mode/lib/view-model.coffee
+++ b/atom/packages/ex-mode/lib/view-model.coffee
@@ -1,11 +1,11 @@
-ExCommandModeInputElement = require './ex-command-mode-input-element'
+ExNormalModeInputElement = require './ex-normal-mode-input-element'
class ViewModel
constructor: (@command, opts={}) ->
{@editor, @exState} = @command
- @view = new ExCommandModeInputElement().initialize(@, opts)
- @editor.commandModeInputView = @view
+ @view = new ExNormalModeInputElement().initialize(@, opts)
+ @editor.normalModeInputView = @view
@exState.onDidFailToExecute => @view.remove()
@done = false