mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-26 05:01:25 -05:00
40 lines
2.3 KiB
Lua
40 lines
2.3 KiB
Lua
|
require("qf").setup {
|
||
|
-- Location list configuration
|
||
|
l = {
|
||
|
auto_close = true, -- Automatically close location/quickfix list if empty
|
||
|
auto_follow = 'prev', -- Follow current entry, possible values: prev,next,nearest, or false to disable
|
||
|
auto_follow_limit = 8, -- Do not follow if entry is further away than x lines
|
||
|
follow_slow = true, -- Only follow on CursorHold
|
||
|
auto_open = false, -- Automatically open list on QuickFixCmdPost
|
||
|
auto_resize = true, -- Auto resize and shrink location list if less than `max_height`
|
||
|
max_height = 12, -- Maximum height of location/quickfix list
|
||
|
min_height = 5, -- Minimum height of location/quickfix list
|
||
|
wide = true, -- Open list at the very bottom of the screen, stretching the whole width.
|
||
|
number = false, -- Show line numbers in list
|
||
|
relativenumber = false, -- Show relative line numbers in list
|
||
|
unfocus_close = false, -- Close list when window loses focus
|
||
|
focus_open = false, -- Auto open list on window focus if it contains items
|
||
|
},
|
||
|
|
||
|
-- Quickfix list configuration
|
||
|
c = {
|
||
|
auto_close = true, -- Automatically close location/quickfix list if empty
|
||
|
auto_follow = 'prev', -- Follow current entry, possible values: prev,next,nearest, or false to disable
|
||
|
auto_follow_limit = 8, -- Do not follow if entry is further away than x lines
|
||
|
follow_slow = true, -- Only follow on CursorHold
|
||
|
auto_open = false, -- Automatically open list on QuickFixCmdPost
|
||
|
auto_resize = true, -- Auto resize and shrink location list if less than `max_height`
|
||
|
max_height = 12, -- Maximum height of location/quickfix list
|
||
|
min_height = 5, -- Minimum height of location/quickfix list
|
||
|
wide = true, -- Open list at the very bottom of the screen, stretching the whole width.
|
||
|
number = false, -- Show line numbers in list
|
||
|
relativenumber = false, -- Show relative line numbers in list
|
||
|
unfocus_close = false, -- Close list when window loses focus
|
||
|
focus_open = false, -- Auto open list on window focus if it contains items
|
||
|
},
|
||
|
|
||
|
close_other = false, -- Close location list when quickfix list opens
|
||
|
pretty = false, -- Pretty print quickfix lists
|
||
|
silent = true, -- Suppress messages like "(1 of 3): *line content*" on jump
|
||
|
}
|