Open vvzen opened 1 year ago
I'm seeing this as well (in VSCode with the python extension, as well as neovim using pylsp).
screenshot of completion in vscode:
$ pylsp --version
pylsp v1.7.1
Any ideas on this? Any workarounds?
Hi everyone!
I have a simple issue with pylsp, so I was wondering if you could provide context if this is a bug/feature or not. Basically, when I'm writing a function that is decorated, I get a typing suggestion for the decorator, not for the original function. That is not particularly useful when the decorator is mean to act transparently (which I feel is the most common use case for decorators).
For example, while typing
some_func(
, I see this:while I would have liked to see that I should pass
some_arg
tosome_func
.Here's simple MRE that reproduces the error:
I'm on https://github.com/helix-editor/helix, but I know this happened also to a coworker which uses vim, which led me to think that it's caused by pylsp itself.
I'm on:
This is my helix config for python, in case it helps:
Thanks!