From 5e6d44b0f7a315f75be1da8fd898f3ead4851549 Mon Sep 17 00:00:00 2001 From: Colin P. McCabe Date: Thu, 28 Aug 2025 16:09:34 -0700 Subject: [PATCH] .vimrc: fix slowness with typescript with set re=0 --- .vimrc | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) 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 -- 1.6.6.rc1.39.g9a42