Skip to content

Commit

Permalink
Add version restriction to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Iron-E committed Aug 27, 2020
1 parent 62a5d72 commit fe73c97
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc/libmodal.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,14 @@ FUNCTIONS *libmodal-usage-functions*
*Error you cannot pass a funcref to Lua from Vimscript!
       - If you want to use a |funcref()| for {instruction}, it
       must be the name of the function as a `string`.
       - This only works on Neovim 0.5+. Example: >
       " VIMSCRIPT
       function! s:foo() abort
       echo 'It works'
       call getchar()
       endfunction
       lua require('libmodal').mode.enter('FOO', 's:foo')
<

Note: Some QoL features are available by default when
specifying a `dict`/`table` value for {instruction} that
Expand Down Expand Up @@ -250,6 +258,14 @@ FUNCTIONS *libmodal-usage-functions*
*Error you cannot pass a funcref to Lua from Vimscript!
       - If you want to use a |funcref()| for {instruction}, it
       must be the name of the function as a `string`.
       - This only works on Neovim 0.5+. Example: >
       " VIMSCRIPT
       function! s:foo() abort
       echo 'It works'
       call getchar()
       endfunction
       lua require('libmodal').prompt.enter('FOO', 's:foo')
<

Note: If you want to create commands with arguments, you will
need to use a `function`.
Expand Down Expand Up @@ -719,6 +735,12 @@ When submitting an issue, please describe the following:
* Add examples for doing almost everything that this plugin can do, from
Vimscript (although I still think Lua makes it easier).

0.6.3 ~

Fixes: ~
* Fix being unable to paste into Vim's command line after importing
the `libmodal.util.api` table.

0.6.2 ~

Fixes: ~
Expand Down

0 comments on commit fe73c97

Please sign in to comment.