Skip to content

Commit

Permalink
fix(winbar): wrong highlight when on a blank line. (#1410)
Browse files Browse the repository at this point in the history
  • Loading branch information
insufficientFunding authored Mar 20, 2024
1 parent 01dc5ea commit 9270f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspsaga/symbol/winbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ local function path_in_bar(buf)

for item in util.path_itera(buf) do
item = #items == 0
and '%#' .. (hl or 'SagaFileIcon') .. '#' .. (icon and icon .. ' ' or '') .. '%*' .. bar.prefix .. 'FileName#' .. item .. '%*'
and '%#' .. (hl or 'SagaFileIcon') .. '#' .. (icon and icon .. ' ' or '') .. '%*' .. bar.prefix .. 'FileName#' .. item
or bar.prefix
.. 'Folder#'
.. (folder and folder or '')
Expand Down

0 comments on commit 9270f3c

Please sign in to comment.