nvim/config/bufferline: allow overriding entire setup/1 object

this allows users to add a custom 'highlights' object to the top level
object passed to bufferline's setup/1 method, rather than only allowing
them to override the 'options' sub-object. See h: bufferline-highlights
for more on how to configure this.
This commit is contained in:
Paul Stemmet 2022-08-11 18:34:28 +00:00
parent 3d8efb49ab
commit 9f49d1a2f8
Signed by: Paul Stemmet
GPG Key ID: EDEA539F594E7E75
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ return function()
sort_by = 'relative_directory',
}
bl.setup { options = util.mconfig('config.bufferline', defaults) }
bl.setup (util.mconfig('config.bufferline', { options = defaults }))
vimp.nnoremap({'silent'}, '<TAB>', ':BufferLineCycleNext<CR>')
vimp.nnoremap({'silent'}, '<S-TAB>', ':BufferLineCyclePrev<CR>')