all repos

init.lua @ 7ec12e0

my nvim config

init.lua/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
23
local M = {}

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

return M