From: Colin P. McCabe Date: Thu, 28 Aug 2025 23:09:34 +0000 (-0700) Subject: .vimrc: fix slowness with typescript with set re=0 X-Git-Url: https://www.club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e6d44b0f7a315f75be1da8fd898f3ead4851549;p=cmccabe-etc .vimrc: fix slowness with typescript with set re=0 --- diff --git a/.vimrc b/.vimrc index ce37af6..cd9f594 100644 --- a/.vimrc +++ b/.vimrc @@ -19,13 +19,18 @@ set nowrapscan set ignorecase set smartcase +"*************** syntax highlighting *************** +syntax on + +" Use the new regular expression engine to avoid slowness with TypeScript. +set re=0 + "*************** formatting *************** :filetype plugin on :filetype indent on set linebreak set ai set ruler -syntax on highlight Comment ctermfg=darkcyan highlight Constant ctermfg=red highlight Search cterm=reverse