summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/core/bufferline.lua
blob: ebd7a64d59e9b8d7b126e8023fd4a34ccb703bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local M = {}

M.config = function()
  options.builtin.bufferline = {
    active = true,
    on_config_done = nil,
    keymap = {
      normal_mode = {},
    },
  }
end

M.setup = function()
  require("keymappings").load(options.builtin.bufferline.keymap)

  if options.builtin.bufferline.on_config_done then
    options.builtin.bufferline.on_config_done()
  end
end

return M