|
@@ -85,6 +85,17 @@ lv_utils.define_augroups {
|
|
-- },
|
|
-- },
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+vim.cmd([[
|
|
|
|
+ function! QuickFixToggle()
|
|
|
|
+ if empty(filter(getwininfo(), 'v:val.quickfix'))
|
|
|
|
+ copen
|
|
|
|
+ else
|
|
|
|
+ cclose
|
|
|
|
+ endif
|
|
|
|
+endfunction
|
|
|
|
+]]
|
|
|
|
+)
|
|
|
|
+
|
|
return lv_utils
|
|
return lv_utils
|
|
|
|
|
|
-- TODO find a new home for these autocommands
|
|
-- TODO find a new home for these autocommands
|