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

@@ -40,8 +40,8 @@ function M.flash_highlight(winnr, lnum, durationMs, hl_group)
local bufnr = vim.api.nvim_win_get_buf(winnr)
local ns
if _G._outline_nvim_has[11] then
ns = vim.api.nvim_create_namespace("_outline_nvim_flash")
vim.hl.range(bufnr, ns, hl_group, { lnum-1, 0 }, { lnum-1, -1 })
ns = vim.api.nvim_create_namespace('_outline_nvim_flash')
vim.hl.range(bufnr, ns, hl_group, { lnum - 1, 0 }, { lnum - 1, -1 })
else
---@diagnostic disable-next-line:deprecated
ns = vim.api.nvim_buf_add_highlight(bufnr, 0, hl_group, lnum - 1, 0, -1)