nvim/lua/plugins/lualine.lua
Evie Litherland-Smith e236c0ae89 More startup optimisations
Start which_key on <leader> key press
Start lualine on loading a buffer
Remove dressing as noice seems to have supersceded it
2023-05-22 08:31:58 +01:00

26 lines
1,018 B
Lua

return {
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons", "folke/noice.nvim", "folke/tokyonight.nvim" },
event = { "BufReadPre", "BufNewFile" },
config = true,
opts = {
options = {
theme = "tokyonight",
component_separators = "|",
section_separators = { left = "", right = "" },
globalstatus = true,
},
sections = {
lualine_a = { { "mode", separator = { left = "" }, right_padding = 2 } },
lualine_b = { "filename", { "branch", icon = "󰊢" }, "diff" },
lualine_c = { "diagnostics" },
lualine_x = { "filetype", "fileformat", "encoding" },
lualine_y = { "progress" },
lualine_z = { "selectioncount", { "location", separator = { right = "" }, left_padding = 2 } },
},
tabline = {},
winbar = {},
extensions = { "aerial", "fzf", "lazy", "neo-tree", "toggleterm", "trouble" },
},
}