buffer: Hide one of the asserts from lua parser

This commit is contained in:
ZyX
2017-02-25 00:22:46 +03:00
parent 5f7d8f889c
commit 77ebe85be6
3 changed files with 11 additions and 0 deletions

View File

@@ -79,6 +79,13 @@ local function cimport(...)
-- format it (so that the lines are "unique" statements), also filter out
-- Objective-C blocks
if os.getenv('NVIM_TEST_PRINT_I') == '1' then
local lnum = 0
for line in body:gmatch('[^\n]+') do
lnum = lnum + 1
print(lnum, line)
end
end
body = formatc(body)
body = filter_complex_blocks(body)