From 8f9c77878f8742a47d34a50748023d1b552cfbf1 Mon Sep 17 00:00:00 2001 From: mirenn Date: Mon, 21 Sep 2026 23:09:33 +0200 Subject: guix primer --- .../dotfiles/.config/nvim/lua/plugins/lualine.lua | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 mirenn/home/files/dotfiles/.config/nvim/lua/plugins/lualine.lua (limited to 'mirenn/home/files/dotfiles/.config/nvim/lua/plugins/lualine.lua') diff --git a/mirenn/home/files/dotfiles/.config/nvim/lua/plugins/lualine.lua b/mirenn/home/files/dotfiles/.config/nvim/lua/plugins/lualine.lua new file mode 100644 index 0000000..495822e --- /dev/null +++ b/mirenn/home/files/dotfiles/.config/nvim/lua/plugins/lualine.lua @@ -0,0 +1,32 @@ +local opts = { + options = { + theme = "auto", + globalstatus = true, + disabled_filetypes = { "toggleterm", "lazy", "oil", "dashboard", "TelescopePrompt", "oil_preview", "ministarter" } + }, + sections = { + lualine_a = { "mode" }, + lualine_b = { "branch", "diff", + { + "diagnostics", + sections = { "error", "warn", "info", "hint" }, + symbols = { error = " ", warn = " ", info = " ", hint = " " }, + } + }, + lualine_c = { + { + require("lazy.status").updates, + cond = require("lazy.status").has_updates, + color = { fg = "#ff9e64" }, + }, + }, + }, +} + +return { + "nvim-lualine/lualine.nvim", + lazy = true, + event = "VeryLazy", + -- event = { "BufReadPost", "BufWritePost", "BufNewFile" }, + opts = opts, +} -- cgit v1.2.3