Skip to content

Hi I love this extension - but how do I get it to keep the windows buttons and icons as well as this? #3

Answered by michaelbrusegard
arunk asked this question in Q&A
Discussion options

You must be logged in to vote

Yes! The plugin enables some recommended settings when you use the apply_to_config(config) method. You do not have to call this method if you do not want to. These are the options that the method sets for you:

function M.apply_to_config(config)
  config.use_fancy_tab_bar = false
  config.show_new_tab_button_in_tab_bar = false
  config.tab_max_width = 32
  config.window_decorations = 'RESIZE'
  config.window_padding = {
    left = 0,
    right = 0,
    top = 0,
    bottom = 0,
  }
  config.colors = {
    tab_bar = {
      background = require('tabline.config').colors.normal_mode.c.bg,
    },
  }
  config.status_update_interval = 500
end

The only option you really need to set is: config.use…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by michaelbrusegard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants