diff --git a/doc/fugitive-ts.nvim.txt b/doc/fugitive-ts.nvim.txt index 8c092be..5ba6410 100644 --- a/doc/fugitive-ts.nvim.txt +++ b/doc/fugitive-ts.nvim.txt @@ -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. diff --git a/lua/fugitive-ts/init.lua b/lua/fugitive-ts/init.lua index 2b89ca9..338a62b 100644 --- a/lua/fugitive-ts/init.lua +++ b/lua/fugitive-ts/init.lua @@ -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)