Re: How to detect there are errors in quickfix?

2010-08-27 Thread Sergey Khorev
I don't want to use :cw is because it will close cwindow  If there are no recognized errors, I want to keep the window if it is already open. getqflist() function will return you the list of recognised items in quickfix list. -- You received this message from the vim_use maillist. Do not

Re: How to detect there are errors in quickfix?

2010-08-27 Thread Ben Fritz
On Aug 26, 3:56 am, eliweiq001 eliweiq...@gmail.com wrote: Hi ! I want to achieve this: map  :make!CR (whether there are errors) ? ( :copenCR) : ( do nothing) I don't want to use :cw is because it will close cwindow  If there are no recognized errors, I want to keep the window if

How to detect there are errors in quickfix?

2010-08-26 Thread eliweiq001
Hi ! I want to achieve this: map :make!CR (whether there are errors) ? ( :copenCR) : ( do nothing) I don't want to use :cw is because it will close cwindow If there are no recognized errors, I want to keep the window if it is already open. Regards. -- You received this message from