Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM really slow with long yaml

Tags:

vim

macos

iterm2

I have a 624 line Yaml file that is completely unusable in vim.

Here's is my config: https://github.com/brandonhilkert/dotfiles/blob/master/vim/vimrc

If I run "syntax off" if works fine but obviously doesn't highlight. Is there some way to improve this?

None of the lines are that long: https://dzwonsemrish7.cloudfront.net/items/00391q2h0T0z0K0o3A1y/Screen%20Shot%202013-12-18%20at%2011.17.48%20AM.png?v=6532af86

like image 244
brandonhilkert Avatar asked Dec 18 '13 16:12

brandonhilkert


1 Answers

It has been reported that the vanilla YAML syntax file is buggy, cause instability in Vim 7.4.

You can try this vim-yaml file.

like image 68
Jose Elera Avatar answered Sep 22 '22 02:09

Jose Elera