Hello,
I was trying to find a way to have vim keep lines broken (i.e., not unwrap
with auto format) when the lines ended with a certain character. For
example, with Latex script, it's desirable to have:
This is a line. \\
Designation \\
Affiliation \\
I have formatoptions set to `tcqan` because
OK issue indenting due to comment after and on same mine of function
déclarés.
The second syntax formed enable good indenting.
function matchPattern(line, pattern) -- {{{
local x=line:match(pattern)
if x~=nil then
return ownsplit(x, '=')
end
end -- }}}
function matchPattern(line, patter