refactor: apply stylua formatting to new preset code
This commit is contained in:
parent
4665deee6c
commit
f408136d5a
2 changed files with 4 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue