Skip to content

Commit

Permalink
style: fix winbar.lua style
Browse files Browse the repository at this point in the history
  • Loading branch information
qRoC committed Nov 20, 2023
1 parent 2c70e5f commit 82812db
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lua/lspsaga/symbol/winbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,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 .. '%*'
or bar.prefix
.. 'Folder#'
.. (folder and folder or '')
.. '%*'
.. bar.prefix
.. 'FolderName#'
.. item
.. '%*'
or bar.prefix .. 'Folder#' .. (folder and folder or '') .. '%*' .. bar.prefix .. 'FolderName#' .. item .. '%*'
items[#items + 1] = item

if #items > config.folder_level then
Expand Down

0 comments on commit 82812db

Please sign in to comment.