summaryrefslogtreecommitdiff
path: root/lua/ben
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-09-24 20:48:36 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-09-24 20:48:36 -0400
commitde67ab8e4b607bf3d7dd9f0741d961a6f77d30cd (patch)
treef4d287b1ddc7a74fc5ae481d05cea85babd13ab4 /lua/ben
parent4a971466fb039cce7951f57462240839939a9653 (diff)
Add lualine to config
Diffstat (limited to 'lua/ben')
-rw-r--r--lua/ben/plugins/lualine.lua42
1 files changed, 42 insertions, 0 deletions
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,
+}