mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-26 05:01:25 -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: {{{
|
"FILE: {{{
|
||||||
filetype plugin indent on "enable filetype-based auto-indentation
|
filetype plugin indent on "enable filetype-based auto-indentation
|
||||||
syntax on "enable syntax highlighting
|
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 formatoptions=roqnl12 "how automatic formatting is to be done
|
||||||
set diffopt=foldcolumn:0,filler "vimdiff default settings
|
set diffopt=foldcolumn:0,filler "vimdiff default settings
|
||||||
set foldmethod=syntax foldcolumn=1 foldlevel=2 "fold layers 3 and deeper
|
set foldmethod=syntax foldcolumn=1 foldlevel=2 "fold layers 3 and deeper
|
||||||
|
|
Loading…
Reference in a new issue