nvim/lua/lsp/python-ls.lua

8 lines
209 B
Lua
Raw Normal View History

require'lspconfig'.pyright.setup{
cmd = {DATA_PATH .. "/lspinstall/python/node_modules/.bin/pyright-langserver", "--stdio"},
}
2021-07-14 14:48:20 -05:00
-- Autoformat on save.
2021-12-01 21:26:29 -08:00
vim.cmd("autocmd BufWritePre *.py execute ':Black'")
2021-07-14 14:48:20 -05:00