我昨天刚刚安装了macvim,今天我安装了vim latex.
其中一个菜单项是调用一个损坏的函数(TeX-Suite -> view).
当我点击菜单时,它会拨打这个电话:
:silent! call Tex_ViewLatex()
Run Code Online (Sandbox Code Playgroud)
问题:我在哪里可以找到该功能?有没有办法弄清楚它的定义?
出于好奇的缘故,我删除了无声部分并运行了这个:
:call Tex_ViewLatex()
Run Code Online (Sandbox Code Playgroud)
哪个产生:
Error detected while processing function Tex_ViewLaTeX:
line 34:
E121: Undefined variable: s:viewer
E116: Invalid arguments for function strlen(s:viewer)
E15: Invalid expression: strlen(s:viewer)
line 39:
E121: Undefined variable: appOpt
E15: Invalid expression: 'open '.appOpt.s:viewer.' $*.'.s:target
line 79:
E121: Undefined variable: execString
E116: Invalid arguments for function substitute(execString, '\V$*', mainfname, 'g'
)
E15: Invalid expression: substitute(execString, '\V$*', mainfname, 'g')
line 80:
E121: Undefined variable: execString
E116: Invalid arguments for function Tex_Debug
line 82:
E121: Undefined variable: execString
E15: Invalid expression: 'silent! !'.execString
Press ENTER or type command to continue
Run Code Online (Sandbox Code Playgroud)
我怀疑,如果我能看到源函数,我可以找出哪些输入是坏的或者它正在寻找什么.
| 归档时间: |
|
| 查看次数: |
1847 次 |
| 最近记录: |