Plugin (vim-latex) crashing gVim on startup

江枫思渺然 提交于 2019-12-03 12:32:44

As some follow up. I've recently tried this on Windows 7 with gvim 7.3 and this version of vim-latex without problems.

This is a rather old question but it is still unresolved. Facts are:

  • GVim 7.3
  • Win XP
  • latest vim-latex plugin
  • It crashes if "filtype plugin on" is set
  • It crashes if there any \begin{...} statements; if those are commented out it will not crash!

I guess vijayvithal is on the right track. Probably the root cause in Windows is a non standard or changed python.exe location.

C:\Python27\python.exe

In my case it is Anaconda distribution. The same symptom as reported for latex-suite can be observed in this case when doing

:python print "goodbye world!

Not sure how to change the python path used in vim maybe it is defined during compilation? If someone knows we would have the solution for the problem.

Workarounds:

1) vijayvithal suggestions

2) Seperate python installation only for vim

vijayvithal

The following answer from Capture Vim's error output before it crashes

helped resolve my issue

add the following line to your ~/_vimrc file

let g:Tex_UsePython=0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!