解决ftplugin/ruby.vim Line 83 E484错误

左手 posted @ 2013年6月19日 19:11 in Vim with tags vim E484 ftplugin/ruby.vim E484 , 2148 阅读

自己用的vim是从源上获取的代码自行编译的x64位版本,版本号是7.3-712。在编辑haml、rb等文件时就报出ftplugin/ruby.vim E484错误。看了下ruby.vim是调用system命令取ruby路径时报错。解决方法,在vimrc中添加一行:
let g:ruby_path = ""
当检测到有g:ruby_path这个变量时,就不会调用system命令取ruby路径。ruby.vim 中仅 72-94行用到了s:ruby_path,暂时没发现修改后有什么问题。

错误截图:

Avatar_small
PSEB 2nd Class Book 说:
2023年9月12日 14:45

Here we are Providing the Facility to Download Latest Edition PSEB Class Textbook 2024,Students You can Download for Hindi,English and Urdu Medium Schools.Punjab Board has Developed the new Textbooks PSEB 2nd Class Book 2024 at the Elementary Standard in Prepare by Senior experts.PSEB once Publishes the Punjab Board Standard Textbooks 2024 Other Study materials on the official Punjab 2nd Class Textbook 2024 Should be Followed as the Prime Resource Throughout the year to clear All doubts and Strengthen your knowledge,PSEB Provides easy Explanation for Various concepts in Curriculum. It Elaborates each Concept with the help of a Number of Problems and examples.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter