refactor: apply stylua formatting to new preset code

This commit is contained in:
Barrett Ruth 2026-03-04 13:54:19 -05:00
parent 4665deee6c
commit f408136d5a
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 4 additions and 12 deletions

View file

@ -98,8 +98,7 @@ end
local function parse_asciidoctor(output)
local diagnostics = {}
for line in output:gmatch('[^\r\n]+') do
local severity, _, lnum, msg =
line:match('^asciidoctor: (%u+): (.+): line (%d+): (.+)$')
local severity, _, lnum, msg = line:match('^asciidoctor: (%u+): (.+): line (%d+): (.+)$')
if lnum then
local sev = vim.diagnostic.severity.ERROR
if severity == 'WARNING' then