this post was submitted on 16 Jul 2023
4 points (100.0% liked)

Neovim

2179 readers
2 users here now

founded 1 year ago
MODERATORS
4
submitted 1 year ago* (last edited 1 year ago) by Reza to c/neovim
 

I use coc-pyright as python code completer in debian. When I work on a django file, I get errors like this error in neovim env. But django runs codes without any problem. I have installed django with apt and not with pip and also I am not in a venv.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Reza 1 points 1 year ago (1 children)

Thank you for your complete explanation! Now I have a question. I know that this note that coc-pyright shows does not hurt code's running. But the note hurts me when I am coding. Do you know how to remove pyright's type hint?

[โ€“] Reza 1 points 1 year ago

I found it. I should set pyright.disableDiagnostics to true in CocConfig.