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:
parent
3d8efb49ab
commit
9f49d1a2f8
|
@ -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>')
|
||||
|
|
Loading…
Reference in New Issue