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.

40 lines
844 B

  1. return {
  2. "nvim-lualine/lualine.nvim",
  3. dependencies = {
  4. "nvim-tree/nvim-web-devicons",
  5. "letieu/harpoon-lualine",
  6. },
  7. config = function()
  8. local lualine = require("lualine")
  9. local lazy_status = require("lazy.status")
  10. lualine.setup({
  11. options = {
  12. theme = "kanagawa",
  13. component_separators = { left = "", right = "" },
  14. section_separators = { left = "", right = "" },
  15. globalstatus = true,
  16. },
  17. sections = {
  18. lualine_b = {
  19. { "branch" },
  20. { "diff" },
  21. { "diagnostics" },
  22. },
  23. lualine_c = {
  24. { "filename", file_status = true, path = 1 },
  25. { "harpoon2" },
  26. },
  27. lualine_x = {
  28. {
  29. lazy_status.updates,
  30. cond = lazy_status.has_updates,
  31. color = { fg = "#ff9e64" },
  32. },
  33. { "fileformat" },
  34. { "filetype" },
  35. },
  36. },
  37. })
  38. end,
  39. }