Skip to content

Commit 4dcee12

Browse files
committed
Move buffer related configs to ui
1 parent 2eb0f03 commit 4dcee12

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

lua/spectre/config.lua

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ local config = {
1212
lnum_UI = 8, -- total line for ui you can edit it
1313
line_result = 10, -- line begin result
1414

15-
-- result_padding = '│ ',
16-
-- color_devicons = true,
17-
-- line_sep_start = '┌-----------------------------------------',
18-
-- result_padding = '¦ ',
19-
-- line_sep = '├──────────────────────────────────────',
20-
15+
-- TODO: make it deprecated
2116
line_sep_start = '┌──────────────────────────────────────────────────────',
2217
result_padding = '',
2318
line_sep = '└──────────────────────────────────────────────────────',
19+
2420
color_devicons = true,
2521
open_cmd = 'vnew',
2622
live_update = false,
@@ -220,6 +216,19 @@ local config = {
220216
is_insert_mode = false,
221217
is_block_ui_break = false,
222218
open_template = {},
219+
220+
ui = {
221+
default = 'buffer',
222+
buffer = {
223+
lnum_UI = 8, -- total line for ui you can edit it
224+
line_result = 10, -- line begin result
225+
226+
line_sep_start = '┌──────────────────────────────────────────────────────',
227+
result_padding = '',
228+
line_sep = '└──────────────────────────────────────────────────────',
229+
},
230+
float = {},
231+
},
223232
}
224233

225234
return config

0 commit comments

Comments
 (0)