Prevent lines from being unwrapped when the lines end with a certain character/pattern

2022-05-19 Thread Uday Reddy B
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

Re: Lua vim indentation

2022-05-19 Thread Ni Va
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