Add autoformatting to python files.

This commit is contained in:
Mariano Uvalle 2021-07-14 14:48:20 -05:00
parent f09966f21a
commit 70fc7c6cbc

View file

@ -2,3 +2,6 @@ require'lspconfig'.pyright.setup{
cmd = {DATA_PATH .. "/lspinstall/python/node_modules/.bin/pyright-langserver", "--stdio"},
}
-- Autoformat on save.
vim.cmd("autocmd BufWritePre *.py call Black()")