chore(fmt): stylua

This commit is contained in:
hedy
2023-11-27 20:16:26 +08:00
parent 71437d91b7
commit dc942d03c3
3 changed files with 18 additions and 8 deletions

View File

@@ -147,9 +147,9 @@ end
function Preview:close()
-- TODO: Why was this in symbols-outline.nvim?
-- if self.s:has_code_win() then
if self.win ~= nil and vim.api.nvim_win_is_valid(self.win) then
vim.api.nvim_win_close(self.win, true)
end
if self.win ~= nil and vim.api.nvim_win_is_valid(self.win) then
vim.api.nvim_win_close(self.win, true)
end
-- end
end