Skip to content

Commit

Permalink
fixfix
Browse files Browse the repository at this point in the history
  • Loading branch information
otavioschwanck committed Oct 1, 2023
1 parent 8edfc56 commit 53f540c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/harpoon/tabline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function M.setup(opts)
end
end

if (not index) and vim.fn.bufname("#") ~= "" then
if (not index) and vim.fn.bufname() ~= "" then
if cfg.tabline_show_current_buffer_not_added then
local current_buffer_filename =
vim.fn.fnamemodify(vim.fn.bufname(), ":t")
Expand Down

0 comments on commit 53f540c

Please sign in to comment.