dotfiles/config/nvim/lua/plugin/statusline.lua
2021-11-28 22:27:34 +02:00

22 lines
508 B
Lua

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