aboutsummaryrefslogtreecommitdiff
path: root/nvim/plugin/lualine.lua
diff options
context:
space:
mode:
authorLeander <80996591+m0ntagur@users.noreply.github.com>2022-08-13 00:31:07 +0200
committerGitHub <noreply@github.com>2022-08-13 00:31:07 +0200
commit0561e714bb476d936e51f6e49292542712255dec (patch)
tree876442c13651dc9946a0fc3c0484b73549fb1540 /nvim/plugin/lualine.lua
parent83767e5f1d6efa11a1fb5f3e48208b125e0f52d3 (diff)
Add files via upload
Diffstat (limited to 'nvim/plugin/lualine.lua')
-rw-r--r--nvim/plugin/lualine.lua43
1 files changed, 43 insertions, 0 deletions
diff --git a/nvim/plugin/lualine.lua b/nvim/plugin/lualine.lua
new file mode 100644
index 0000000..00a13fb
--- /dev/null
+++ b/nvim/plugin/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 = {}
+}