diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-06 23:47:53 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-06 23:47:53 +0200 |
commit | e1c5a423a6e8abec507d89863903be869762a55e (patch) | |
tree | 925b268e08ffadd86f00611df636c54da45e0299 /lua/config/lualine.lua | |
parent | 9404b0daa8733fb830b98eb13503c7f1bcbb915b (diff) |
chore(lua): nuke lua files
Diffstat (limited to 'lua/config/lualine.lua')
-rw-r--r-- | lua/config/lualine.lua | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/lua/config/lualine.lua b/lua/config/lualine.lua deleted file mode 100644 index 15ca449..0000000 --- a/lua/config/lualine.lua +++ /dev/null @@ -1,64 +0,0 @@ --- Statusbar - -local status_ok, lualine = pcall(require, "lualine") -if not status_ok then - return -end - -local hide_in_width = function() - return vim.fn.winwidth(0) > 80 -end - -local diagnostics = { - "diagnostics", - sources = { "nvim_diagnostic" }, - sections = { "error", "warn" }, - symbols = { error = " ", warn = " " }, - colored = false, - update_in_insert = false, - always_visible = true, -} - -local diff = { - "diff", - colored = false, - symbols = { added = " ", modified = " ", removed = " " }, -- changes diff symbols - cond = hide_in_width, -} - -local branch = { - "b:gitsigns_head", - icon = " ", - cond = hide_in_width, -} - -local filetype = { "filetype", cond = hide_in_width, color = {} } - -lualine.setup { - options = { - icons_enabled = true, - theme = "auto", - component_separators = { left = "", right = "" }, - section_separators = { left = "", right = "" }, - disabled_filetypes = { "alpha", "dashboard", "NvimTree", "Outline" }, - always_divide_middle = true, - }, - sections = { - lualine_a = { "mode" }, - lualine_b = { branch, "filename" }, - lualine_c = { diff }, - lualine_x = { diagnostics, filetype }, - lualine_y = {}, - lualine_z = { "location", "progress", "encoding" }, - }, - inactive_sections = { - lualine_a = { "mode" }, - lualine_b = { "filename" }, - lualine_c = {}, - lualine_x = {}, - lualine_y = {}, - lualine_z = { "location", "progress", "encoding" }, - }, - tabline = {}, - extensions = {}, -} |