chore(fmt): stylua
This commit is contained in:
@@ -293,8 +293,10 @@ function LivePreview:show()
|
||||
return
|
||||
end
|
||||
|
||||
if not vim.api.nvim_win_is_valid(self.s.code.win)
|
||||
or (self.codewin and not vim.api.nvim_win_is_valid(self.codewin)) then
|
||||
if
|
||||
not vim.api.nvim_win_is_valid(self.s.code.win)
|
||||
or (self.codewin and not vim.api.nvim_win_is_valid(self.codewin))
|
||||
then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ function Sidebar:setup_attached_buffer_autocmd()
|
||||
|
||||
if cfg.o.outline_items.highlight_hovered_item or cfg.o.symbol_folding.auto_unfold_hover then
|
||||
if utils.str_or_nonempty_table(events.follow) then
|
||||
self.augroup = vim.api.nvim_create_augroup("outline_"..self.id, { clear = true })
|
||||
self.augroup = vim.api.nvim_create_augroup('outline_' .. self.id, { clear = true })
|
||||
vim.api.nvim_create_autocmd(events.follow, {
|
||||
group = self.augroup,
|
||||
buffer = code_buf,
|
||||
|
||||
Reference in New Issue
Block a user