fix(nvim): format

This commit is contained in:
Barrett Ruth 2026-02-23 09:08:33 -05:00
parent c759cd0d0e
commit 15edf30ef3
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
5 changed files with 69 additions and 33 deletions

View file

@ -77,7 +77,10 @@ M.conventional_commits = make_source({
{
range = {
start = { line = 0, character = colon - 1 },
['end'] = { line = 0, character = colon - 1 },
['end'] = {
line = 0,
character = colon - 1,
},
},
newText = '!',
},

View file

@ -38,7 +38,10 @@ return {
end,
sign = function()
local marks = vim.api.nvim_buf_get_extmarks(
0, -1, { vim.v.lnum - 1, 0 }, { vim.v.lnum - 1, -1 },
0,
-1,
{ vim.v.lnum - 1, 0 },
{ vim.v.lnum - 1, -1 },
{ details = true, type = 'sign' }
)
for _, mark in ipairs(marks) do
@ -46,7 +49,10 @@ return {
if d and d.sign_text then
local text = vim.trim(d.sign_text)
if text ~= '' then
return '%#' .. (d.sign_hl_group or 'SignColumn') .. '#' .. text
return '%#'
.. (d.sign_hl_group or 'SignColumn')
.. '#'
.. text
end
end
end