adds lspsaga

This commit is contained in:
xesc 2024-01-29 23:04:43 +01:00
parent 3d7e4b5e48
commit 14c8746a1f
3 changed files with 91 additions and 19 deletions

View file

@ -5,10 +5,14 @@ return {
vim.api.nvim_set_option("showmode", false)
local custom_gruvbox = require 'lualine.themes.gruvbox-material'
custom_gruvbox.normal.a.bg = '#89b482'
custom_gruvbox.normal.c.bg = '#141617'
custom_gruvbox.normal.c.bg = ''
custom_gruvbox.insert.a.bg = '#d8a657'
custom_gruvbox.visual.a.bg = '#a9b665'
custom_gruvbox.replace.a.bg = '#ea6962'
local function lspsaga()
return require('lspsaga.symbol.winbar').get_bar()
end
require('lualine').setup {
options = {
theme = custom_gruvbox,
@ -29,15 +33,18 @@ return {
icon = '',
color = { fg = '#d8a657', bg = '#141617', gui = 'bold' },
padding = 1,
}
},
{
'filename',
color = { gui = 'italic', fg = '#d3869b', bg = '#1d2021' },
padding = 1,
path = 1,
},
},
lualine_c = {
{
'filename',
color = { gui = 'italic', fg = '#d3869b', bg = '#1d2021' },
padding = 1,
path = 1,
}
{
lspsaga
}
},
lualine_x = {
{
@ -95,14 +102,14 @@ return {
'branch',
icon = '',
padding = 1,
}
},
{
'filename',
padding = 1,
path = 1,
}
},
lualine_c = {
{
'filename',
padding = 1,
path = 1,
}
},
lualine_x = {
{