mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 20:43:52 -05:00
Fix test and loading of filetypes, closes #577
This commit is contained in:
@@ -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("
|
||||
|
||||
Reference in New Issue
Block a user