mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 21:35:37 +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 "sd" # Faster, better sed
|
||||||
brew "bat" # Better cat
|
brew "bat" # Better cat
|
||||||
brew "zoxide" # Better autojump
|
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 "ipython" # Better interactive Python shell
|
||||||
brew "poetry" # Project-based Python dependencies
|
brew "poetry" # Project-based Python dependencies
|
||||||
brew "ruby" # Newer than default ruby
|
brew "ruby" # Newer than default ruby
|
||||||
|
brew "node" # NodeJS
|
||||||
|
@ -47,7 +47,9 @@ end)
|
|||||||
|
|
||||||
-- LSP Plugins
|
-- LSP Plugins
|
||||||
require('lspconfig').rust_analyzer.setup{}
|
require('lspconfig').rust_analyzer.setup{}
|
||||||
require('lspconfig').pyls.setup{}
|
require('lspconfig').pyright.setup{
|
||||||
|
cmd = { "poetry", "run", "pyright-langserver", "--stdio" }
|
||||||
|
}
|
||||||
require'compe'.setup({
|
require'compe'.setup({
|
||||||
enabled = true,
|
enabled = true,
|
||||||
source = {
|
source = {
|
||||||
|
Loading…
Reference in New Issue
Block a user