enc: optimize lsp config & optimize foramat on save

This commit is contained in:
asep.komarudin 2024-06-25 05:41:42 +07:00
parent 618b816d52
commit a3143f9ae0
12 changed files with 437 additions and 322 deletions

View file

@ -122,6 +122,8 @@ return {
table.insert(buf_client_names, "lsp_fmt")
end
end
elseif not status and supported_formatters and #supported_formatters == 0 then
table.insert(buf_client_names, "lsp_fmt")
end
-- add linter