projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5c344f5
)
.vimrc: fix slowness with typescript with set re=0
author
Colin P. McCabe
<cmccabe@apache.org>
Thu, 28 Aug 2025 23:09:34 +0000 (16:09 -0700)
committer
Colin P. McCabe
<cmccabe@apache.org>
Thu, 28 Aug 2025 23:09:34 +0000 (16:09 -0700)
.vimrc
patch
|
blob
|
history
diff --git
a/.vimrc
b/.vimrc
index
ce37af6
..
cd9f594
100644
(file)
--- 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