davidhalter / jedi-vim

Using the jedi autocompletion library for VIM.
MIT License
5.27k stars 370 forks source link

Find Chinese name definition will report error and stop #1085

Closed fhopecc closed 2 years ago

fhopecc commented 2 years ago

I use Chinese Name for function definition for others to maintain code, but if I use \<leader>d to find the Chinese Name definition, it will report ValueError and stop. (ex. find the "轉半型" function definition as following screenshot).

Maybe it is because Chinese Name is composed of wide chars, and vim get cursor positon function take a wide char length as 2, but Jedi-python take as 1.

image

davidhalter commented 2 years ago

You forgot to fill out the form when creating the issue. Now we don't have enough information to debug your issue. Since You have ignored it, I'm closing this issue, because the form is there for a reason. It saves us a lot of time and questions if we have it.

We are happy to reopen this issue if you add the necessary debug information (just click the New Issue Button and you'll find it there).