Jun
22nd
Wed
22nd
vim-ruby slowness fix
Lately whenever I was working on a rails project, I was having such a pain editing the routes file of this specific project, it went super slow on me on editing time. My “patch” fix was to always disable the syntax or set the filetype to something different than ruby to make it go normal speed again.This came even more unbearable when it was happening on other files, and my crappy “patch” solution came back and bite me in the ass; I started to have bugs because I was not having the syntax coloring on the buffer.
After a lot of STFW I came up with this issue on the ruby-vim project, that was suggesting to use a set foldmethod=manual rather than a set foldmethod=syntax.
That did the work!
