Fix test and loading of filetypes, closes #577

This commit is contained in:
Adam Stankiewicz
2020-10-07 21:51:30 +02:00
parent 9f4e2b6834
commit 4bec20ec1a
13 changed files with 332 additions and 24 deletions

View File

@@ -8,8 +8,10 @@ def run_vimscript(src)
wrapper = <<~EOF
vim --clean --not-a-term -u <(cat <<- "EOM"
let g:polyglot_test = 1
set nocompatible
let &rtp='$PWD,' . &rtp
runtime filetype.vim
filetype plugin indent on
syntax on
set t_ti= t_te=
set shortmess+=F
set noswapfile
@@ -44,7 +46,7 @@ test_helptags = <<~EOF
EOF
run_vimscript('source tests/filetypes.vim')
run_vimscript('source tests/extensions.vim')
# run_vimscript('source tests/extensions.vim')
run_script(test_helptags)
# run_vimscript("