Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fixes and support for function signatures
* Bug fix for xolox#lua#dofile(): Unless I'm severely misunderstanding Vim I've probably found a bug in the Lua Interface for Vim: When you print() a very long line and try to intercept the output with :redir commands, the long line is repeated once more after the initial (and expected) output. This makes it impossible to send large blobs of serialized data from Lua to Vim. The workaround is simple though: Simply print() each matching entry individually and join the printed lines in Vim script before evaluating the expression. * The dynamic completion sometimes wouldn't use omni completion even when it was enabled and the best choice. This is now fixed. * The new xolox#lua#getsignature() function returns the signatures of standard library functions and is used to show signatures in tool tips and completion menus. * The standard library signatures in autoload/xolox/lua_data.vim were generated using a simple Lua script which I'm also committing.
- Loading branch information
Showing
6 changed files
with
407 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.