diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-25 23:27:45 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-25 23:27:45 +0200 |
commit | f93bad12f1b4feeeee007ceab4a350eb1aa26c1e (patch) | |
tree | 15b9edf259fc93da70a599dec47de3cfea551a95 /.config/nvim/lua/core/bufferline.lua | |
parent | f52dce93777c41671217ced2894c28d6da9114a0 (diff) |
Updates from lvim, remove legacy
Diffstat (limited to '.config/nvim/lua/core/bufferline.lua')
-rw-r--r-- | .config/nvim/lua/core/bufferline.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/lua/core/bufferline.lua b/.config/nvim/lua/core/bufferline.lua index 6306614..68b08ce 100644 --- a/.config/nvim/lua/core/bufferline.lua +++ b/.config/nvim/lua/core/bufferline.lua @@ -3,6 +3,7 @@ local M = {} M.config = function() options.builtin.bufferline = { active = true, + on_config_done = nil, keymap = { normal_mode = { ["<S-l>"] = ":BufferNext<CR>", @@ -15,6 +16,10 @@ end M.setup = function() local keymap = require "keymappings" keymap.append_to_defaults(options.builtin.bufferline.keymap) + + if options.builtin.bufferline.on_config_done then + options.builtin.bufferline.on_config_done() + end end return M |