Go to file
2020-05-23 19:16:14 -04:00
autoload remove unnecessary echohl 2020-05-21 01:46:09 -04:00
doc Fix bad _input assignemtn 2020-05-23 16:02:28 -04:00
examples Fix bad name change 2020-05-21 15:52:14 -04:00
lua/libmodal Adjust spacing 2020-05-23 19:16:14 -04:00
plugin Finish intial implemention of prompts 2020-05-13 00:08:11 -04:00
.gitignore Update imports 2020-05-01 17:15:12 -04:00
LICENSE.md Add license 2020-04-29 15:17:31 -04:00
README.md Add gist references 2020-05-19 02:17:07 -04:00

About

This is a rewrite of vim-libmodal using Neovim's Lua API.

Unfortunately, during vim-libmodal's development several problems with Vimscript became apparent. Because of this, I have decided to rewrite it using Lua. This project aims to be cross-compatable with vim-libmodal version 2.X.Y, with the only alterations being additions to the source code that have been made under the 2.x.y revision number.

funcref() cannot be used in libmodal#Enter or libmodal#Prompt, so nvim-libmodal is mostly compatable, but not completely.

  • See |libmodal-usage| for more details.

Note that cross-compatability does not mean that vim-libmodal and nvim-libmodal can be installed at the same time— as a matter of fact, they are developed specifically to replace each other for specific platforms. If you use Vim, use vim-libmodal. If you use Neovim, use nvim-libmodal. If you are a plugin creator, all code that works for vim-libmodal will work with nvim-libmodal, but the reverse is not true.

See vim-libmodal and the docs for more information. Alternatively, you may see nvim-tabmode and this gist for more examples.

Requirements

  • Neovim 0.4+
    • Eventually 0.5 will be required.
  • vim-libmodal is not installed.