all repos

dotfiles @ a6d1f45fd60ac16f4498c560b6e9b9b8962a0c74

my dotfiles

config/nvim/lua/plugin/statusline.lua (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local M = {}

function M.setup()
  require("lualine").setup {
    options = {
      theme = "codedark",
      component_separators = { "", "" },
      section_separators = { "", "" },
      disabled_filetypes = { "NvimTree", "Telescope" },
    },
    sections = {
      lualine_a = { "branch", "diff" },
      lualine_b = { "filename" },
      lualine_c = {},
      lualine_x = {},
      lualine_y = { { "diagnostics", sources = { "nvim_lsp" } } },
      lualine_z = { "location" },
    },
  }
end

return M