feat: add lualine

This commit is contained in:
Robert Morrison 2025-09-14 14:02:39 +01:00
parent b4c922aa0b
commit dc6481081e
2 changed files with 50 additions and 1 deletions

View File

@ -1,4 +1,7 @@
{
"gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lualine-spell-status": { "branch": "main", "commit": "aa81c2c9a71e3ed3552c6cd75e150414ff9ac664" },
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
"nvim-web-devicons": { "branch": "master", "commit": "6e51ca170563330e063720449c21f43e27ca0bc1" }
}

View File

@ -0,0 +1,46 @@
return {
"nvim-lualine/lualine.nvim",
dependencies = {
{ "nvim-tree/nvim-web-devicons", opt = true },
"sherlock5512/lualine-spell-status",
},
opts = {
options = {
theme = "auto",
component_separators = { left = "|", right = "|" },
section_separators = { left = "", right = "" },
disabled_filetypes = {},
always_divide_middle = true,
globalstatus = true,
},
sections = {
lualine_a = {
"mode",
"spell_status",
},
lualine_b = {
"branch",
"diff",
"diagnostics",
},
lualine_c = {
{ "filename", path = 1 },
{ "filetype", icon_only = true },
},
lualine_x = {
"encoding",
"fileformat",
"filetype",
{ require("lazy.status").updates, cond = require("lazy.status").has_updates },
},
lualine_y = {
"progress",
"searchcount",
},
lualine_z = {
"location",
},
},
tabline = {},
},
}