3
votes
Accepted
What is the good errorformat or compiler plugin for pyright?
I would have a ~/compiler/pyright.vim with the following content:
set makeprg=pyright
set errorformat=%f:%l:%c\ -\ %t%.%#:%m
You can switch using pyright running:
:compiler pyright
You can check the ...
1
vote
Pyright LSP, leading spaces appears as " " in hover
I think this is the quirky behavior of pyright. The docstring parsing of pyright is not that good. When Neovim used markdown_inline and markdown as their default hover parser, the hover result got ...
1
vote
Accepted
Run pyright in single file mode and some questions
I would try:
root_dir = vim.loop.cwd()
The debounce_text_changes parameter control how often the server is query (if set to 300 the LSP server will be query maximum every 300 ms even if you type ...
1
vote
Python formatter stop working in Neovim
The formatters (black) in particular iare confused when the syntax is not correct.
I would try first to correct the syntax first.
From:
dep helper(start):
To:
def helper(start):
Remark: I have tried ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pyright × 8neovim × 6
lsp × 5
filetype-python × 2
lua × 2
autocmd × 1
quickfix × 1
plugin-coc × 1
python × 1
errorformat × 1
plugin-jedi-vim × 1
lunarvim × 1