Skip to content
This repository was archived by the owner on Apr 6, 2018. It is now read-only.

Commit e0eb0db

Browse files
committed
use settings instead of atom.config.get
1 parent 20e3fd2 commit e0eb0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/motions/general-motions.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class MoveRight extends Motion
152152
# MoveRight can be combined with Delete, which will indicate it by the presence of options.deleting
153153
moveCursor: (cursor, count=1, options={}) ->
154154
_.times count, =>
155-
goingToNextLine = atom.config.get('vim-mode.wrapLeftRightMotion')
155+
goingToNextLine = settings.wrapLeftRightMotion()
156156

157157
if not cursor.isAtEndOfLine() # the line is not empty
158158
cursor.moveRight()

0 commit comments

Comments
 (0)