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:
@@ -69,7 +69,13 @@ function Float:open(lines, hl, title, indent)
|
||||
self.ns = vim.api.nvim_create_namespace('OutlineHelp')
|
||||
for _, h in ipairs(hl) do
|
||||
if _G._outline_nvim_has[11] then
|
||||
vim.hl.range(self.bufnr, self.ns, h.name, { h.line, h.from + indent }, { h.line, (h.to ~= -1 and h.to + indent) or -1 })
|
||||
vim.hl.range(
|
||||
self.bufnr,
|
||||
self.ns,
|
||||
h.name,
|
||||
{ h.line, h.from + indent },
|
||||
{ h.line, (h.to ~= -1 and h.to + indent) or -1 }
|
||||
)
|
||||
else
|
||||
---@diagnostic disable-next-line:deprecated
|
||||
vim.api.nvim_buf_add_highlight(
|
||||
|
||||
Reference in New Issue
Block a user