Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
842 B

  1. vim.g.barbar_auto_setup = false -- disable auto-setup
  2. return {
  3. auto_hide = 1,
  4. clickable = true,
  5. focus_on_close = 'previous',
  6. icons = {
  7. button = '',
  8. -- Enables / disables diagnostic symbols
  9. diagnostics = {
  10. [vim.diagnostic.severity.ERROR] = {enabled = true, icon = ''},
  11. [vim.diagnostic.severity.WARN] = {enabled = false},
  12. [vim.diagnostic.severity.INFO] = {enabled = false},
  13. [vim.diagnostic.severity.HINT] = {enabled = true},
  14. },
  15. gitsigns = {
  16. added = {enabled = true, icon = '+'},
  17. changed = {enabled = true, icon = '~'},
  18. deleted = {enabled = true, icon = '-'},
  19. },
  20. modified = {button = ''},
  21. pinned = {button = '', filename = true},
  22. },
  23. -- Set the filetypes which barbar will offset itself for
  24. sidebar_filetypes = {
  25. NvimTree = true,
  26. },
  27. }