]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - atom/packages/vim-surround/lib/command/selector.coffee
Remove vim-surround
[rbdr/dotfiles] / atom / packages / vim-surround / lib / command / selector.coffee
index aae35412a5590b18dbb710c459b1cb8a2fde75ea..bcb3c156fe5e96962864b52d84d77fc9c308bb27 100644 (file)
@@ -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