diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2022-04-07 15:33:20 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2022-04-07 15:33:20 +0200 |
commit | 71c5956028f1b380a1e25811a665175b291897c6 (patch) | |
tree | 0bf9c67307067637841cae718aaa1b6cbe1bf3aa /lua/user/bufferline.lua | |
parent | 93d6a71043f097f1455aaf390d0b26d5a7565e1d (diff) | |
download | vim-71c5956028f1b380a1e25811a665175b291897c6.zip vim-71c5956028f1b380a1e25811a665175b291897c6.tar.gz |
bufferline : add buffer number and selected bg
Diffstat (limited to 'lua/user/bufferline.lua')
-rw-r--r-- | lua/user/bufferline.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/user/bufferline.lua b/lua/user/bufferline.lua index 9e0a958..af11ad4 100644 --- a/lua/user/bufferline.lua +++ b/lua/user/bufferline.lua @@ -6,7 +6,7 @@ end bufferline.setup { options = { - numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string, + numbers = "ordinal", -- "none" | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string, close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions" right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions" left_mouse_command = "buffer %d", -- can be a string | function, see "Mouse actions" @@ -82,11 +82,11 @@ bufferline.setup { guibg = { attribute = "bg", highlight = "TabLine" }, }, - -- buffer_selected = { - -- guifg = {attribute='fg',highlight='#ff0000'}, - -- guibg = {attribute='bg',highlight='#0000ff'}, - -- gui = 'none' - -- }, + buffer_selected = { + guifg = {attribute='fg',highlight='#ff0000'}, + guibg = "#707070", --{attribute='bg',highlight='#0000ff'}, + gui = 'none' + }, buffer_visible = { guifg = { attribute = "fg", highlight = "TabLine" }, guibg = { attribute = "bg", highlight = "TabLine" }, |