diff options
Diffstat (limited to '.config/nvim/lua/plugins/lualine.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/lualine.lua | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/.config/nvim/lua/plugins/lualine.lua b/.config/nvim/lua/plugins/lualine.lua index 0da0b89..c4e936e 100644 --- a/.config/nvim/lua/plugins/lualine.lua +++ b/.config/nvim/lua/plugins/lualine.lua | |||
| @@ -7,7 +7,7 @@ local function lualine_spell() | |||
| 7 | end | 7 | end |
| 8 | 8 | ||
| 9 | local conditions = { | 9 | local conditions = { |
| 10 | spell_on = function () | 10 | spell_on = function() |
| 11 | return vim.wo.spell | 11 | return vim.wo.spell |
| 12 | end, | 12 | end, |
| 13 | filetype_is_tex = function() | 13 | filetype_is_tex = function() |
| @@ -45,11 +45,11 @@ return { | |||
| 45 | }, | 45 | }, |
| 46 | }, | 46 | }, |
| 47 | sections = { | 47 | sections = { |
| 48 | lualine_a = {{'mode', fmt = string.lower}}, | 48 | lualine_a = { { 'mode', fmt = string.lower } }, |
| 49 | lualine_b = {'branch', | 49 | lualine_b = { 'branch', |
| 50 | { | 50 | { |
| 51 | 'diff', | 51 | 'diff', |
| 52 | diff_color= { | 52 | diff_color = { |
| 53 | added = { fg = 'LightGreen' }, | 53 | added = { fg = 'LightGreen' }, |
| 54 | modified = { fg = 'LightBlue' }, | 54 | modified = { fg = 'LightBlue' }, |
| 55 | removed = { fg = 'LightRed' }, | 55 | removed = { fg = 'LightRed' }, |
| @@ -58,23 +58,23 @@ return { | |||
| 58 | { | 58 | { |
| 59 | lualine_spell, | 59 | lualine_spell, |
| 60 | cond = conditions.spell_on, | 60 | cond = conditions.spell_on, |
| 61 | }}, | 61 | } }, |
| 62 | lualine_c = {'filename'}, | 62 | lualine_c = { 'filename' }, |
| 63 | lualine_x = {encoding, fileformat, 'filetype'}, | 63 | lualine_x = { encoding, fileformat, 'filetype' }, |
| 64 | lualine_y = {'progress'}, | 64 | lualine_y = { 'progress' }, |
| 65 | lualine_z = { | 65 | lualine_z = { |
| 66 | 'location', { | 66 | 'location', { |
| 67 | 'diagnostics', | 67 | 'diagnostics', |
| 68 | sources = {'nvim_diagnostic'}, | 68 | sources = { 'nvim_diagnostic' }, |
| 69 | sections = {'error', 'warn', 'info', 'hint'}, | 69 | sections = { 'error', 'warn', 'info', 'hint' }, |
| 70 | symbols = {error = 'e', warn = 'w', info = 'i', hint = 'h'} | 70 | symbols = { error = 'e', warn = 'w', info = 'i', hint = 'h' } |
| 71 | } | 71 | } |
| 72 | } | 72 | } |
| 73 | }, | 73 | }, |
| 74 | inactive_sections = { | 74 | inactive_sections = { |
| 75 | lualine_a = {}, | 75 | lualine_a = {}, |
| 76 | lualine_b = {}, | 76 | lualine_b = {}, |
| 77 | lualine_c = {'filename'}, | 77 | lualine_c = { 'filename' }, |
| 78 | lualine_x = {}, | 78 | lualine_x = {}, |
| 79 | lualine_y = {}, | 79 | lualine_y = {}, |
| 80 | lualine_z = {} | 80 | lualine_z = {} |
