master #1

Open
oli wants to merge 915 commits from master into lua
2 changed files with 1 additions and 6 deletions
Showing only changes of commit 0fd088d2e7 - Show all commits

View File

@@ -9,7 +9,7 @@ return {
margin = { horizontal = 0 },
},
render = function(props)
local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ':t')
local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ':.')
if filename == '' then
filename = '[No Name]'
end

View File

@@ -30,11 +30,6 @@ return {
{
'getcwd',
},
{
'filename',
path = 1,
file_status = true,
},
{
function() return require('nvim-navic').get_location() end,
cond = function() return package.loaded['nvim-navic'] and require('nvim-navic').is_available() end,