fix: autocmd, show desc if available (#2046)

This commit is contained in:
Simon Hauser
2022-07-07 16:45:32 +02:00
committed by GitHub
parent f838695459
commit 9b3afe51c4
2 changed files with 6 additions and 2 deletions

View File

@@ -925,7 +925,7 @@ previewers.autocommands = defaulter(function(_)
end
table.insert(
display,
string.format(" %-14s▏%-08s %s", item.value.event, item.value.ft_pattern, item.value.command)
string.format(" %-14s▏%-08s %s", item.value.event, item.value.pattern, item.value.command)
)
end