LoginSignup
10
7

More than 5 years have passed since last update.

vimでRuby書くと重いときに試す価値あること

Last updated at Posted at 2016-07-26

対象

設定

.vimrc
set re=1 # ←追記

以上。速くなった。

原因

vimのバージョンが7.396以前のバージョンの場合はregexエンジンが古いらしく、そいつが悪さしてるってstackoverflowにかいてあった
(追記)vimのバージョンが7.396以降だと新しいregexエンジンを使う模様。この新regexエンジンがわるさしているとこのと。上記設定すると古いregexエンジンを使うようになるらしい。(http://stackoverflow.com/questions/16902317/vim-slow-with-ruby-syntax-highlighting)。 実際速くなったのでそうなのかもしれない。

10
7
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
7