aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Herlédan <sylvain.herledan@hrafnagud.info>2017-06-13 00:07:33 +0200
committerSylvain Herlédan <sylvain.herledan@hrafnagud.info>2017-06-13 00:07:33 +0200
commit0752c5981118f6bee4ca6e5f4004f1f95dee5d25 (patch)
treee48194735e7ea625585b313e9e17801515a5c591
parentaa8f454f66aebfc3504392313812d2c58e7b3b89 (diff)
downloaddotfiles-0752c5981118f6bee4ca6e5f4004f1f95dee5d25.tar.gz
dotfiles-0752c5981118f6bee4ca6e5f4004f1f95dee5d25.tar.bz2
dotfiles-0752c5981118f6bee4ca6e5f4004f1f95dee5d25.zip
Fix performance issue with long lines in vim while syntax highlighting is on.
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 424e03e..3a980ae 100644
--- a/vimrc
+++ b/vimrc
@@ -27,6 +27,9 @@ call dein#end()
filetype plugin indent on
syntax enable
+" Fix performance issue with long lines
+set synmaxcol=200
+
" Plugins config
let g:clang_c_options = '-std=gnu11'
let g_clang_cpp_options = '-std=c++11 -stdlib=libc++'