Hi,
I use python-language-server (pyls for short) as backend in emacs for python-mode. But it seems, pyls will insert an extra parenthesis for function parameters after completion.
It does not happens each time, seems only with some keywords, for example threshold_abs, distance ect. Any way, this behaviour is un-reasonable I have to delete the parenthesis each time, it is quite noisy.
Bellow is an example
from skimage.feature import peak_local_max
local_maxi = peak_local_max(distance, thresho|ld_abs=) ;; cursor behind 'o' marked by '|', then press Enter, it will be:
local_maxi = peak_local_max(distance, threshold_abs=()|)
Hi, I use python-language-server (pyls for short) as backend in emacs for python-mode. But it seems, pyls will insert an extra parenthesis for function parameters after completion.
It does not happens each time, seems only with some keywords, for example threshold_abs, distance ect. Any way, this behaviour is un-reasonable I have to delete the parenthesis each time, it is quite noisy.
Bellow is an example
Here is the log: request sending to pyls
response from pyls