diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-10-31 15:04:07 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-11-01 09:41:30 -0400 |
commit | daaaaad24da079d1251d9b16a94abb50d5d5c56e (patch) | |
tree | e023987bb61d7a26eef23149dbb0948c4bf15eda /vimrc | |
parent | 20dc26b0f24e41c42208e9f50cf0ca067817f9c0 (diff) | |
download | conf-daaaaad24da079d1251d9b16a94abb50d5d5c56e.tar.gz conf-daaaaad24da079d1251d9b16a94abb50d5d5c56e.zip |
turn syntax highlighting off in huge files
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -373,6 +373,9 @@ endif " start with the current fold open {{{ autocmd BufReadPost * normal zv " }}} +" disable syntax highlighting for huge files (it's really slow) {{{ +autocmd BufEnter * if line('$') > 20000 | syntax off | endif +" }}} " Misc {{{ autocmd BufWritePost *conkyrc silent exe "!killall -HUP conky" " }}} |