mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
feat(picker.list): make conceallevel
configurable. Fixes #635
This commit is contained in:
parent
4b49357319
commit
d88eab6e3f
2 changed files with 4 additions and 2 deletions
|
@ -224,6 +224,10 @@ local defaults = {
|
|||
["<a-w>"] = "cycle_win",
|
||||
["<Esc>"] = "close",
|
||||
},
|
||||
wo = {
|
||||
conceallevel = 2,
|
||||
concealcursor = "nvc",
|
||||
},
|
||||
},
|
||||
-- preview window
|
||||
preview = {
|
||||
|
|
|
@ -47,8 +47,6 @@ function M.new(picker)
|
|||
bo = { modifiable = false, filetype = "snacks_picker_list" },
|
||||
wo = {
|
||||
foldenable = false,
|
||||
conceallevel = 3,
|
||||
concealcursor = "nvc",
|
||||
cursorline = false,
|
||||
winhighlight = Snacks.picker.highlight.winhl("SnacksPickerList", { CursorLine = "Visual" }),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue