dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

lualine.lua (984B)


      1 return {
      2   "nvim-lualine/lualine.nvim",
      3   event = "VeryLazy",
      4   opts = {
      5     options = {
      6       -- this is all you need
      7       theme = "sourcery",
      8 
      9       -- everything below
     10       -- is extra style
     11       -- can't help myself :P
     12       component_separators = { left = "░", right = "░" },
     13       section_separators = { left = "▓▒░", right = "░▒▓" },
     14     },
     15     sections = {
     16       lualine_b = {
     17         "branch", {
     18           "diagnostics",
     19           sources = { "nvim_diagnostic" },
     20           symbols = { error = " ", warn = " ", info = " " },
     21           diagnostics_color = {
     22             error = { fg = "#151515" },
     23             warn =  { fg = "#151515" },
     24             info =  { fg = "#151515" },
     25           },
     26         },
     27       },
     28       lualine_x = {
     29         { "encoding", padding = { left = 1, right = 1 }, separator = { left = "░▒▓" } },
     30         { "fileformat" },
     31         { "filetype" },
     32       },
     33       lualine_y = { "searchcount", "progress" },
     34     },
     35   },
     36 }