aboutsummaryrefslogtreecommitdiff
path: root/lualine.lua
diff options
context:
space:
mode:
authorLeander <80996591+m0ntagur@users.noreply.github.com>2022-08-13 00:27:04 +0200
committerGitHub <noreply@github.com>2022-08-13 00:27:04 +0200
commitafbf49f0a65a0ea77ecba455f17f592efe3089d8 (patch)
tree35a7a053f07b429fe9e5de920d51ae5a0431dc76 /lualine.lua
parenta61e457e4c14c7c16b9a545418e14722370dc10a (diff)
Add files via upload
Diffstat (limited to 'lualine.lua')
-rw-r--r--lualine.lua43
1 files changed, 43 insertions, 0 deletions
diff --git a/lualine.lua b/lualine.lua
new file mode 100644
index 0000000..00a13fb
--- /dev/null
+++ b/lualine.lua
@@ -0,0 +1,43 @@
+local status, lualine = pcall(require, 'lualine')
+if (not status) then return end
+
+lualine.setup {
+ options = {
+ icons_enabled = true,
+ theme = 'auto',
+ component_separators = { left = '', right = ''},
+ section_separators = { left = '', right = ''},
+ disabled_filetypes = {
+ statusline = {},
+ winbar = {},
+ },
+ ignore_focus = {},
+ always_divide_middle = true,
+ globalstatus = false,
+ refresh = {
+ statusline = 1000,
+ tabline = 1000,
+ winbar = 1000,
+ }
+ },
+ sections = {
+ lualine_a = {'mode'},
+ lualine_b = {'branch', 'diff', 'diagnostics'},
+ 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 = {},
+ inactive_winbar = {},
+ extensions = {}
+}