use pyright with poetry

This commit is contained in:
Noah Masur 2021-05-13 16:55:04 -04:00
parent dfb5a9be71
commit 3d482657cc
3 changed files with 4 additions and 2 deletions

View File

@ -13,4 +13,3 @@ brew "fd" # Faster, better find
brew "sd" # Faster, better sed
brew "bat" # Better cat
brew "zoxide" # Better autojump
brew "node" # Ugh, nodejs (for Vim CoC)

View File

@ -6,3 +6,4 @@ brew "python" # Latest version of Python
brew "ipython" # Better interactive Python shell
brew "poetry" # Project-based Python dependencies
brew "ruby" # Newer than default ruby
brew "node" # NodeJS

View File

@ -47,7 +47,9 @@ end)
-- LSP Plugins
require('lspconfig').rust_analyzer.setup{}
require('lspconfig').pyls.setup{}
require('lspconfig').pyright.setup{
cmd = { "poetry", "run", "pyright-langserver", "--stdio" }
}
require'compe'.setup({
enabled = true,
source = {