chore(fmt): format using stylua

Also fixed something in .stylua.toml that may cause stylua to fail, by
the way
This commit is contained in:
27Onion Nebell
2025-04-14 22:39:13 +08:00
parent fc526beb6f
commit 7d2387dc12
7 changed files with 23 additions and 12 deletions

View File

@@ -344,8 +344,8 @@ function Sidebar:__refresh()
if focused_outline or not self.view:is_open() then
return
end
local ft = vim.api.nvim_get_option_value("ft", { buf = buf })
local listed = vim.api.nvim_get_option_value("ft", { buf = buf })
local ft = vim.api.nvim_get_option_value('ft', { buf = buf })
local listed = vim.api.nvim_get_option_value('ft', { buf = buf })
if ft == 'OutlineHelp' or not (listed or ft == 'help') then
return
end