Merge branch 'ChristianChiarulli:master' into master

This commit is contained in:
Jacek Kiedrowski 2021-07-05 23:26:25 +01:00 committed by GitHub
commit 5b49774744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 81 additions and 350 deletions

View file

@ -12,3 +12,16 @@ require "lsp"
if O.lang.emmet.active then
require "lsp.emmet-ls"
end
-- autoformat
if O.format_on_save then
require("lv-utils").define_augroups {
autoformat = {
{
"BufWritePre",
"*",
[[try | undojoin | Neoformat | catch /^Vim\%((\a\+)\)\=:E790/ | finally | silent Neoformat | endtry]],
},
},
}
end