From 82812db9b893c1edd7092e2a9a13bf452b0eac5c Mon Sep 17 00:00:00 2001 From: Andrii Savytskyi Date: Mon, 20 Nov 2023 10:59:37 +0200 Subject: [PATCH] style: fix winbar.lua style --- lua/lspsaga/symbol/winbar.lua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lua/lspsaga/symbol/winbar.lua b/lua/lspsaga/symbol/winbar.lua index ced986c92..6f928db7d 100644 --- a/lua/lspsaga/symbol/winbar.lua +++ b/lua/lspsaga/symbol/winbar.lua @@ -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