File tree 2 files changed +2
-7
lines changed 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -642,11 +642,7 @@ endfunction
642
642
643
643
function ! s: open_quickfix (request, copen ) abort
644
644
let was_qf = &buftype == # ' quickfix'
645
- if a: copen || ! empty (filter (getqflist (), ' v:val.valid' ))
646
- copen
647
- else
648
- cclose
649
- endif
645
+ execute ' botright' (a: copen ? ' copen' : ' cwindow' )
650
646
if &buftype == # ' quickfix' && ! was_qf && ! a: copen
651
647
wincmd p
652
648
endif
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ COMMANDS *dispatch-commands*
16
16
build in the foreground. Adapter strategies vary, but
17
17
the goal is visibility without stealing focus. When
18
18
the build is complete, load the results into the
19
- | quickfix | list. The quickfix window is opened if
20
- there are any matching errors. This command is
19
+ | quickfix | list and call | :cwindow | . This command is
21
20
preferred for shorter tasks like "build this file."
22
21
23
22
:Make! [arguments] Using the current compiler settings, dispatch a build
You can’t perform that action at this time.
0 commit comments