LeaderF icon indicating copy to clipboard operation
LeaderF copied to clipboard

[HELP WANTED] error when called the ' leaderf#Rg#NormalModelFilter '

Open xm-tech opened this issue 2 months ago • 7 comments

处理 function leaderf#Gtags#NormalModeFilter 时发生错误: 第 1 行: E859: 无法将返回的 Python 对象转换为 Vim 值, as below:

截屏2024-04-16 16 52 57

the error occurred at the function leaderf#Rg#NormalModeFilter so i try to update the function as below:

截屏2024-04-16 17 23 54 which displays: 截屏2024-04-16 17 25 11

why winid and key here is not defined

i displayed the value of variables: g:Lf_PyEval && g:Lf_Py :echo g:Lf_PyEval output : py3eval

while :echo g:Lf_Py output: E121: 未定义的变量: g:Lf_Py

my env:

vim: 9.0.2121 os: Linux raspberrypi 6.5.0-1013-raspi #16-Ubuntu SMP PREEMPT Thu Mar 14 15:47:52 UTC 2024 armv7l armv7l armv7l GNU/Linux python: Python 3.11.6

xm-tech avatar Apr 16 '24 08:04 xm-tech