aboutsummaryrefslogtreecommitdiff
path: root/atom/packages/vim-surround/lib/command/selector.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'atom/packages/vim-surround/lib/command/selector.coffee')
-rw-r--r--atom/packages/vim-surround/lib/command/selector.coffee4
1 files changed, 3 insertions, 1 deletions
diff --git a/atom/packages/vim-surround/lib/command/selector.coffee b/atom/packages/vim-surround/lib/command/selector.coffee
index aae3541..bcb3c15 100644
--- a/atom/packages/vim-surround/lib/command/selector.coffee
+++ b/atom/packages/vim-surround/lib/command/selector.coffee
@@ -1,4 +1,6 @@
-vimModePath = atom.packages.resolvePackagePath('vim-mode')
+vimModePath = atom.packages.resolvePackagePath('vim-mode') or
+ atom.packages.resolvePackagePath('vim-mode-next')
+
{SelectInsideQuotes, SelectInsideBrackets} = require "#{vimModePath}/lib/text-objects"
module.exports = class Selector