fedepujol / move.nvim

Gain the power to move lines and blocks and auto-indent them!
GNU General Public License v3.0
348 stars 6 forks source link

Change namespace #10

Closed mrjones2014 closed 2 years ago

mrjones2014 commented 2 years ago

Would love to have a Lua alternative to vim-move but currently this plugin does not work at all with my config, because I have my own lua file in my config called utils.lua, so it creates a namespace collision with your plugin.

Your directory structure should look like this:

lua/
  - move/
    - init.lua <-- move.lua contents should be moved here
    - utils.lua
    - core/
      - horiz.lua
      - vert.lua
fedepujol commented 2 years ago

Sounds good! I've tested a possible solution to this a few days back and it works. I'll upload the branch later

mrjones2014 commented 2 years ago

Awesome thanks!

fedepujol commented 2 years ago

Just uploaded #11. If you want to test it!