nvim: autocmd: Open quickfix & localist list if populated
This is required when using vimgrep without which we will have to invoke copen or lopen manually.
This commit is contained in:
parent
e54dd071f6
commit
0e45f3229a
1 changed files with 12 additions and 0 deletions
|
@ -42,6 +42,18 @@ local aucmd_dict = {
|
|||
pattern = "*",
|
||||
command = "set guicursor=a:hor1-blinkon0"
|
||||
}
|
||||
},
|
||||
QuickFixCmdPost = {
|
||||
{
|
||||
group = custom_augroup_id,
|
||||
pattern = "[^l]*",
|
||||
command = "cwindow"
|
||||
},
|
||||
{
|
||||
group = custom_augroup_id,
|
||||
pattern = "l*",
|
||||
command = "lwindow"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue