From de67ab8e4b607bf3d7dd9f0741d961a6f77d30cd Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 24 Sep 2023 20:48:36 -0400 Subject: Add lualine to config --- lua/ben/plugins/lualine.lua | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 lua/ben/plugins/lualine.lua (limited to 'lua/ben') diff --git a/lua/ben/plugins/lualine.lua b/lua/ben/plugins/lualine.lua new file mode 100644 index 0000000..e5b080d --- /dev/null +++ b/lua/ben/plugins/lualine.lua @@ -0,0 +1,42 @@ +return { + "nvim-lualine/lualine.nvim", + dependencies = "nvim-tree/nvim-web-devicons", + event = { "BufReadPre", "BufNewFile" }, + config = function() + require("lualine").setup({ + options = { + theme = "everforest", + icons_enabled = true, + section_separators = { left = "", right = "" }, + component_separators = { left = "", right = "" }, + globalstatus = false, + ignore_focus = {}, + always_divide_middle = true, + refresh = { + statusline = 500, + tabline = 500, + winbar = 500, + }, + }, + sections = { + lualine_a = { "mode" }, + lualine_b = { "branch" }, + lualine_c = { "filename" }, + lualine_x = { "encoding", "fileformat", "filetype" }, + lualine_y = { "progress" }, + lualine_z = { "location" }, + }, + inactive_sections = { + lualine_a = {}, + lualine_b = {}, + lualine_c = { "filename" }, + lualine_x = { "location" }, + lualine_y = {}, + lualine_z = {}, + }, + tabline = {}, + winbar = {}, + extensions = {}, + }) + end, +} -- cgit v1.2.3