mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 17:44:52 +00:00
use pyright with poetry
This commit is contained in:
parent
dfb5a9be71
commit
3d482657cc
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user