2 votes

How to properly indent inline c++ lambdas?

This is answered on Stack Overflow: vim-and-c11-lambda-auto-indentation To quote the answer: Vim 7.4 now has an jN cinoption for "Indent Java anonymous classes correctly." (:help java-...
Cnly's user avatar
  • 121
1 vote
Accepted

How do I close the quickfix window inside a user-defined function?

I suspect the screen isn't redrawing when you want: use :redraw[!] or the Lua equivalent to force that. You might also be interested in using makeprg and errorfmt by writing a compiler plugin (:help ...
D. Ben Knoble's user avatar
  • 26.2k

Only top scored, non community-wiki answers of a minimum length are eligible