Implement :s
This commit is contained in:
parent
161c55c94f
commit
f662a96afd
4 changed files with 78 additions and 6 deletions
|
|
@ -1,10 +1,7 @@
|
|||
ExViewModel = require './ex-view-model'
|
||||
Ex = require './ex'
|
||||
Find = require './find'
|
||||
|
||||
class CommandError
|
||||
constructor: (@message) ->
|
||||
@name = 'Command Error'
|
||||
CommandError = require './command-error'
|
||||
|
||||
class Command
|
||||
constructor: (@editor, @exState) ->
|
||||
|
|
@ -164,4 +161,4 @@ class Command
|
|||
else
|
||||
throw new CommandError("Not an editor command: #{input.characters}")
|
||||
|
||||
module.exports = {Command, CommandError}
|
||||
module.exports = Command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue