32 lines
1.1 KiB
Lua
32 lines
1.1 KiB
Lua
|
|
-- UI: statusline, git gutter signs, file icons.
|
||
|
|
-- The `based` colorscheme is vendored at ../../colors/based.vim and set in
|
||
|
|
-- init.lua, so it needs no lazy spec here.
|
||
|
|
return {
|
||
|
|
{
|
||
|
|
"nvim-lualine/lualine.nvim",
|
||
|
|
event = "VeryLazy",
|
||
|
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||
|
|
opts = {
|
||
|
|
options = {
|
||
|
|
theme = "auto",
|
||
|
|
component_separators = { left = "│", right = "│" },
|
||
|
|
section_separators = {},
|
||
|
|
globalstatus = true,
|
||
|
|
},
|
||
|
|
sections = {
|
||
|
|
lualine_a = { "mode" },
|
||
|
|
lualine_b = { "branch", "diff" },
|
||
|
|
lualine_c = { { "filename", path = 1 } },
|
||
|
|
lualine_x = { "encoding", "fileformat", "filetype" },
|
||
|
|
lualine_y = { "progress" },
|
||
|
|
lualine_z = { "location" },
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"lewis6991/gitsigns.nvim",
|
||
|
|
event = { "BufReadPre", "BufNewFile" },
|
||
|
|
opts = {},
|
||
|
|
},
|
||
|
|
{ "nvim-tree/nvim-web-devicons", lazy = true },
|
||
|
|
}
|