nvim: don't show filename in firenvim
This commit is contained in:
parent
996b13e954
commit
48f93ed887
|
@ -84,13 +84,15 @@ require('lualine').setup({
|
|||
{ 'require("my.functions").lsp_status()', padding = 0 },
|
||||
{ 'diagnostics' }
|
||||
},
|
||||
lualine_c = { { 'filename', path = 1 }, { function()
|
||||
local curfun = vim.b.lsp_current_function
|
||||
if curfun and curfun ~= '' then
|
||||
return '(' .. curfun .. ')'
|
||||
end
|
||||
return ''
|
||||
end, padding = 0, color = 'StatusLineNC' } },
|
||||
lualine_c = { { 'filename', path = 1,
|
||||
cond = function() return vim.g.started_by_firenvim == nil end },
|
||||
{ function()
|
||||
local curfun = vim.b.lsp_current_function
|
||||
if curfun and curfun ~= '' then
|
||||
return '(' .. curfun .. ')'
|
||||
end
|
||||
return ''
|
||||
end, padding = 0, color = 'StatusLineNC' } },
|
||||
lualine_x = { { 'filetype' } },
|
||||
lualine_y = { { 'progress' } },
|
||||
lualine_z = { { 'location' }, { '"🍄"', padding = 0 }
|
||||
|
|
Loading…
Reference in New Issue
Block a user