|
Romulo wrote:
It's working great in vim 7.2 with external Lua. Thanks! I'll try to find a way to use the current theme's color instead of the ones hardcoded, and to catch some editing events for a faster feedback.
I've changed the plug-in so that you can now define your preferred highlighting styles using :highlight commands and the plug-in won't redefine them. I've added an explanation of this to the README [1].
I've also added an option [2] that lets you configure on which events you want to automatically enable/update the highlighting. You can use this to for example enable/update the highlighting when you leave insert mode, which gives you almost immediate feedback (assuming you're using Vim's insert vs. normal mode properly).
- Peter Odding [1] http://peterodding.com/code/vim/lua-inspect/#luainspect_command [2] http://peterodding.com/code/vim/lua-inspect/#lua_inspect_events_option