Iron-E / nvim-libmodal

Create new "modes" for Neovim!
Other
118 stars 7 forks source link

Importing libmodal prevents pasting into command prompt #4

Closed DanCardin closed 4 years ago

DanCardin commented 4 years ago

As far as i know this is the most basic use of this plugin:

In my vimrc:

lua require'foo'

in lua/foo.lua

local libmodal = require('libmodal')

This causes pasting into the command prompt (i.e. : -> cmd+v/whatever you bind paste to) to do nothing.

Iron-E commented 4 years ago

Thank you for the bug report! I can reproduce this issue and will investigate it promptly. I will report back with any findings and fixes as they come.

Iron-E commented 4 years ago

After investigation it appears to be a problem with importing libmodal.utils.api table. I'll look into it more after work today.

Iron-E commented 4 years ago

I have a PR active right now that should fix this issue. If you can confirm that it has been fixed I will merge it! If you use vim-plug you can do so with the following line in your init.vim:

Plug 'Iron-E/nvim-libmodal', {'branch': 'bugfix/0.6.3'}
DanCardin commented 4 years ago

The branch seems to fix it! Thanks!

Iron-E commented 4 years ago

Great! Thanks for confirming. I'll merge it now.