mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 15:06:38 -05:00
Prevent slowdowns related to excessively long lines by preventing syntax highlighting after 300th character
This commit is contained in:
parent
ec41593643
commit
c19f3a857c
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@
|
|||
"FILE: {{{
|
||||
filetype plugin indent on "enable filetype-based auto-indentation
|
||||
syntax on "enable syntax highlighting
|
||||
set synmaxcol=300 "disable syntax highlighting on a given line after 300 characters
|
||||
set formatoptions=roqnl12 "how automatic formatting is to be done
|
||||
set diffopt=foldcolumn:0,filler "vimdiff default settings
|
||||
set foldmethod=syntax foldcolumn=1 foldlevel=2 "fold layers 3 and deeper
|
||||
|
|
Loading…
Reference in a new issue