문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top