Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix: Strip newlines from warnings
The communication between `luainspect.vim' and `luainspect4vim.lua' for the `highlight' action assumes that warning messages never span multiple lines, but LuaInspect sometimes does include newlines in warnings. This broke the separation between warning messages and highlight positions which meant `luainspect.vim' would print "Invalid output" messages.
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 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 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