summaryrefslogtreecommitdiffstats
path: root/lua/plugins
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2023-05-21 00:21:12 +0200
committerNanderty <psopka@sopka.ch>2023-05-21 00:21:12 +0200
commitf0d0707e640eaa1f36405e1c4a12a02eb1a34437 (patch)
tree86c891b5096f6d3055b23fa4f78c278a9c770cfe /lua/plugins
parent26d83034fd6d20a9c579156be15ec1fdfd7164fb (diff)
downloadneovim-config-f0d0707e640eaa1f36405e1c4a12a02eb1a34437.tar.gz
neovim-config-f0d0707e640eaa1f36405e1c4a12a02eb1a34437.tar.bz2
neovim-config-f0d0707e640eaa1f36405e1c4a12a02eb1a34437.zip
statusline
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/interface.lua13
1 files changed, 11 insertions, 2 deletions
diff --git a/lua/plugins/interface.lua b/lua/plugins/interface.lua
index e3f5980..f546f1e 100644
--- a/lua/plugins/interface.lua
+++ b/lua/plugins/interface.lua
@@ -7,6 +7,9 @@ return {
theme = function() return require('lualine.theme') end,
},
sections = {
+ lualine_a = {
+ 'mode',
+ },
lualine_b = {
'branch',
{
@@ -27,18 +30,24 @@ return {
},
},
inactive_sections = {
+ lualine_a = {},
lualine_b = {
function()
return ' '
end,
},
+ lualine_c = {
+ 'filename',
+ },
lualine_x = {},
+ lualine_y = {},
+ lualine_z = {},
},
},
config = function(_, opts)
require('lualine').setup(opts)
- vim.api.nvim_set_hl(0, 'StatusLine', { bg = nil })
- vim.api.nvim_set_hl(0, 'StatusLineNC', { bg = nil })
+ vim.api.nvim_set_hl(0, 'StatusLine', { bg = require('monokai-pro.colorscheme').colors.editor.background })
+ vim.api.nvim_set_hl(0, 'StatusLineNC', { bg = require('monokai-pro.colorscheme').colors.editor.backgroundnil })
end,
},
{