conceal back to level 1
This commit is contained in:
parent
3aa7d1d6f8
commit
6a64a380b0
2 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ CONFIGURATION *fugitive-ts-config*
|
|||
{hide_prefix} (boolean, default: true)
|
||||
Hide diff prefixes (`+`/`-`/` `) using conceal.
|
||||
Makes code appear flush left without the leading
|
||||
diff character. Sets `conceallevel=2` on attach.
|
||||
diff character. Sets `conceallevel=1` on attach.
|
||||
|
||||
{highlights} (table, default: see below)
|
||||
Controls which highlight features are enabled.
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ function M.attach(bufnr)
|
|||
dbg('attaching to buffer %d', bufnr)
|
||||
|
||||
if config.hide_prefix then
|
||||
vim.api.nvim_set_option_value('conceallevel', 2, { win = 0 })
|
||||
vim.api.nvim_set_option_value('conceallevel', 1, { win = 0 })
|
||||
end
|
||||
|
||||
local debounced = create_debounced_highlight(bufnr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue