[nvim] fix syntax syncing for JS/TS after a vim-polyglot update (this made opening crosscode/assets/js/game.compiled.js insanely slow)

This commit is contained in:
Dmytro Meleshko 2021-01-12 15:05:42 +02:00
parent 955559db5e
commit 14e64127e4
9 changed files with 5 additions and 6 deletions

View file

@ -1 +0,0 @@
setlocal iskeyword+=-

View file

@ -1 +0,0 @@
setlocal matchpairs-=<:>

View file

@ -1,4 +1,4 @@
execute 'source' fnameescape(expand('<sfile>:p:h').'/text.vim')
source <sfile>:h/text.vim
let s:src_file = expand('%')
let s:out_file = s:src_file.'.html'

View file

@ -1 +1 @@
execute 'source' fnameescape(expand('<sfile>:p:h').'/text.vim')
source <sfile>:h/text.vim

View file

@ -1 +0,0 @@
execute 'source' fnameescape(expand('<sfile>:p:h').'/css.vim')

View file

@ -1 +0,0 @@
execute 'source' fnameescape(expand('<sfile>:p:h').'/javascript.vim')

View file

@ -0,0 +1 @@
syntax sync minlines=500

View file

@ -0,0 +1 @@
source <sfile>:h/javascript.vim

View file

@ -0,0 +1 @@
source <sfile>:h/typescript.vim