diff --git a/lua/config/settings.lua b/lua/config/settings.lua index 74e7cc9..3f36b67 100644 --- a/lua/config/settings.lua +++ b/lua/config/settings.lua @@ -54,7 +54,7 @@ opt.iskeyword:prepend { '-' } opt.inccommand = 'nosplit' opt.completeopt = { 'menu', 'menuone', 'noselect' } opt.timeoutlen = 300 -opt.conceallevel = 0 +opt.conceallevel = 3 opt.concealcursor = 'n' opt['foldenable'] = false -- opt.fillchars = 'vert:▏' diff --git a/lua/plugins/oil.lua b/lua/plugins/oil.lua index 9f3cab8..2808e45 100644 --- a/lua/plugins/oil.lua +++ b/lua/plugins/oil.lua @@ -15,7 +15,9 @@ function M.config() -- "mtime", }, -- Buffer-local options to use for oil buffers - buf_options = {}, + buf_options = { + buflisted = false, + }, -- Window-local options to use for oil buffers win_options = { wrap = false, @@ -25,7 +27,7 @@ function M.config() spell = false, list = false, conceallevel = 3, - concealcursor = 'n', + concealcursor = 'nvic', }, -- Restore window options to previous values when leaving an oil buffer restore_win_options = true,