summaryrefslogtreecommitdiffstats
path: root/scripts/test
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-07 21:51:30 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-07 21:51:30 +0200
commit4bec20ec1a7cde0c29d9550d244f428484fa56ab (patch)
tree9d0e03e25083e1e9f313150ccdf435a15bcab789 /scripts/test
parent9f4e2b683453c9521de8164169327a112d71f6c1 (diff)
downloadvim-polyglot-4bec20ec1a7cde0c29d9550d244f428484fa56ab.tar.gz
vim-polyglot-4bec20ec1a7cde0c29d9550d244f428484fa56ab.zip
Fix test and loading of filetypes, closes #577v4.13.2
Diffstat (limited to 'scripts/test')
-rwxr-xr-xscripts/test6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/test b/scripts/test
index ebb6d6ce..f22c224c 100755
--- a/scripts/test
+++ b/scripts/test
@@ -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("