summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/lualine.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/ben/plugins/lualine.lua')
-rw-r--r--lua/ben/plugins/lualine.lua86
1 files changed, 44 insertions, 42 deletions
diff --git a/lua/ben/plugins/lualine.lua b/lua/ben/plugins/lualine.lua
index 6f29613..1bd6270 100644
--- a/lua/ben/plugins/lualine.lua
+++ b/lua/ben/plugins/lualine.lua
@@ -1,44 +1,46 @@
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 = "" },
- section_separators = { left = "▓", right = "▓" },
- -- component_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,
+ "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 = "" },
+ section_separators = { left = "▓", right = "▓" },
+ -- component_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 = {},
+ })
+ -- set noshowmode to remove the useless -- INSERT -- text
+ vim.opt.showmode = false
+ end,
}