chore(fmt): stylua
This commit is contained in:
@@ -24,7 +24,11 @@ end
|
||||
function M.hovers(bufnr, nodes)
|
||||
for line, node in ipairs(nodes) do
|
||||
if node.hovered then
|
||||
vim.api.nvim_buf_add_highlight(bufnr, M.ns.hover, 'OutlineCurrent', line - 1, node.prefix_length, -1)
|
||||
-- stylua: ignore start
|
||||
vim.api.nvim_buf_add_highlight(
|
||||
bufnr, M.ns.hover, 'OutlineCurrent', line - 1, node.prefix_length, -1
|
||||
)
|
||||
-- stylua: ignore end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -36,8 +40,7 @@ function M.items(bufnr, hl_list)
|
||||
for _, h in ipairs(hl_list) do
|
||||
-- stylua: ignore start
|
||||
vim.api.nvim_buf_add_highlight(
|
||||
bufnr, M.ns.items,
|
||||
h.name, h.line - 1, h.from, h.to
|
||||
bufnr, M.ns.items, h.name, h.line - 1, h.from, h.to
|
||||
)
|
||||
-- stylua: ignore end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user