enc: add default config python

This commit is contained in:
asep.komarudin 2024-06-22 13:00:28 +07:00
parent 178c969312
commit 35c170c09a
6 changed files with 53 additions and 54 deletions

View file

@ -64,4 +64,11 @@ if pcode.active_golang_config then
table.insert(pcode.null_ls_ensure_installed, "ast_grep")
table.insert(pcode.null_ls_ensure_installed, "gofumpt")
end
-- run if python config true
if pcode.active_python_config then
table.insert(pcode.treesitter_ensure_installed, "python")
table.insert(pcode.mason_ensure_installed, "pyright")
table.insert(pcode.null_ls_ensure_installed, "flake8")
table.insert(pcode.null_ls_ensure_installed, "black")
end
return {}