chore(fmt): stylua

This commit is contained in:
~hedy
2025-01-05 09:14:32 +08:00
parent 69e1e248ea
commit f7a3940b0e
6 changed files with 23 additions and 26 deletions

View File

@@ -26,13 +26,13 @@ function View:setup_view(split_command)
-- create a split
vim.cmd(split_command)
-- get current (outline) window and attach our buffer to it
self.win = vim.api.nvim_get_current_win()
vim.api.nvim_win_set_buf(self.win, self.buf)
-- resize if split_command not specify width like "25vsplit"
if split_command:match("%d+") == nil then
if split_command:match('%d+') == nil then
-- resize to a % of the current window size
vim.cmd('vertical resize ' .. cfg.o.outline_window.width)
end