added navic
This commit is contained in:
@ -6,6 +6,8 @@ return {
|
||||
},
|
||||
config = function()
|
||||
vim.opt.laststatus = 3
|
||||
local navic = require('nvim-navic')
|
||||
local colors = require('bamboo.palette')
|
||||
require('lualine').setup({
|
||||
options = {
|
||||
theme = 'auto',
|
||||
@ -28,8 +30,24 @@ return {
|
||||
},
|
||||
lualine_c = {
|
||||
'hostname',
|
||||
'getcwd',
|
||||
{ 'filename', path = 1, file_status = true },
|
||||
{
|
||||
'getcwd',
|
||||
color = { fg = colors.vulgaris.orange, gui = 'bold' },
|
||||
},
|
||||
{
|
||||
'filename',
|
||||
path = 1,
|
||||
file_status = true,
|
||||
color = { fg = colors.vulgaris.light_blue, gui = 'bold' },
|
||||
},
|
||||
{
|
||||
function()
|
||||
return require('nvim-navic').get_location()
|
||||
end,
|
||||
cond = function()
|
||||
return package.loaded['nvim-navic'] and require('nvim-navic').is_available()
|
||||
end,
|
||||
},
|
||||
},
|
||||
lualine_y = {
|
||||
'searchcount',
|
||||
@ -53,7 +71,7 @@ return {
|
||||
path = 0,
|
||||
file_status = true,
|
||||
separator = { left = '', right = '' },
|
||||
color = { fg = '#000000', bg = '#ff9966', gui='bold' },
|
||||
color = { fg = '#000000', bg = '#ff9966', gui = 'bold' },
|
||||
},
|
||||
},
|
||||
lualine_b = {
|
||||
|
Reference in New Issue
Block a user