added lualine
This commit is contained in:
parent
b9ec30d0c0
commit
dbd2c49720
2 changed files with 28 additions and 1 deletions
|
@ -14,7 +14,7 @@ return {
|
||||||
vim.cmd([[colo gruvbox-material]])
|
vim.cmd([[colo gruvbox-material]])
|
||||||
|
|
||||||
-- Settings to override colorscheme
|
-- Settings to override colorscheme
|
||||||
vim.api.nvim_set_hl(0, "ModeMsg", { bold = true, fg = "#d8a657"})
|
-- vim.api.nvim_set_hl(0, "ModeMsg", { bold = true, fg = "#d8a657"})
|
||||||
-- colors of tabline
|
-- colors of tabline
|
||||||
vim.api.nvim_set_hl(0, "TabLine", {bg = "#3c3836", fg = "#89b482"})
|
vim.api.nvim_set_hl(0, "TabLine", {bg = "#3c3836", fg = "#89b482"})
|
||||||
vim.api.nvim_set_hl(0, "TabLineFil", {bg = "#1d2021"})
|
vim.api.nvim_set_hl(0, "TabLineFil", {bg = "#1d2021"})
|
||||||
|
|
27
nvim/.config/nvim/lua/plugin/lualine.lua
Normal file
27
nvim/.config/nvim/lua/plugin/lualine.lua
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"nvim-lualine/lualine.nvim",
|
||||||
|
config = function()
|
||||||
|
vim.api.nvim_set_option("showmode",false)
|
||||||
|
local custom_gruvbox = require'lualine.themes.gruvbox-material'
|
||||||
|
custom_gruvbox.normal.a.bg = '#89b482'
|
||||||
|
custom_gruvbox.insert.a.bg = '#d8a657'
|
||||||
|
custom_gruvbox.visual.a.bg = '#a9b665'
|
||||||
|
custom_gruvbox.replace.a.bg = '#ea6962'
|
||||||
|
require('lualine').setup {
|
||||||
|
options = {
|
||||||
|
theme = custom_gruvbox,
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_a = {'mode'},
|
||||||
|
lualine_b = {'filename'},
|
||||||
|
lualine_c = {'branch'},
|
||||||
|
lualine_x = {'filetype'},
|
||||||
|
lualine_y = {'diagnostics', 'diff'},
|
||||||
|
lualine_z = {'location'}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue