$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.4
BuildVersion: 17E202
$ vim --version | head -n 5
VIM - Vi IMproved 8.1 (2018 May 17, compiled May 22 2018 22:51:49)
macOS version
Included patches: 1
Compiled by Homebrew
Huge version without GUI. Features included (+) or not (-):
" set path, set filetyp
set runtimepath+=./rc
autocmd BufNewFile,BufRead *.fsx set filetype=fsharp
" turn plugins on
syntax enable
filetype plugin indent on
" flag
" set regexpengin=1
create test report ( see vim help :h syntime )
# open foo.fsx
$ vim -N -u minimal.vimrc foo.fsx
# start test mode
: syntime on
# redraw 10 times
<C-l>
<C-l>
<C-l>
<C-l>
<C-l>
<C-l>
<C-l>
<C-l>
<C-l>
<C-l>
# end test mode
: syntime off
# put report
: redir > foo.txt
: silent syntime report
create bar.txt
# comment out in minimal.vimrc
$ vim minimal.vmrc
set regexpengin=1
# do test
...
: redir > bar.txt
: silent syntime report
Hello! I'm
callmekohei
! (^_^)/problem
syntax file make it slow rendering on vim.
Environment
Test
prepare syntax file and test file
create minimal.vimrc
create test report ( see vim help :h syntime )
create bar.txt
result
foo.txt
bar.txt
additional info
Two options ( number, nowrap ) makas more slow. 😢