Support vim-mode-plus marks

This commit is contained in:
jazzpi 2017-05-25 01:08:21 +02:00
parent ed3417c842
commit 02ab74465c

View file

@ -22,7 +22,7 @@ class Command
else if str[0] is "'" # Parse Mark... else if str[0] is "'" # Parse Mark...
unless @vimState? unless @vimState?
throw new CommandError("Couldn't get access to vim-mode.") throw new CommandError("Couldn't get access to vim-mode.")
mark = @vimState.marks[str[1]] mark = @vimState.mark.marks[str[1]]
unless mark? unless mark?
throw new CommandError("Mark #{str} not set.") throw new CommandError("Mark #{str} not set.")
addr = mark.getEndBufferPosition().row addr = mark.getEndBufferPosition().row