X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/24c7594d62d8d7fbbcdb64b11ce4adc5d8e6991a..c87eeb577b5e1e1d9e8c396dec098f4cc3df6717:/atom/packages/vim-surround/lib/command/selector.coffee?ds=inline

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