diff options
Diffstat (limited to 'scripts/test')
-rwxr-xr-x | scripts/test | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/scripts/test b/scripts/test index 853d34b4..084d084a 100755 --- a/scripts/test +++ b/scripts/test @@ -2,18 +2,10 @@ set -e -vim -N --startuptime /dev/stdout -u <( +vim --clean -N -u <( echo "filetype plugin indent on" echo "syntax enable" echo "let &rtp='$PWD,'.&rtp" - cat ftdetect/polyglot.vim | grep -E 'set ft=[a-z-]+' -o | sort | uniq | awk -F '=' '{ print $2 }' | while read ft; do - echo "try" - echo " enew" - echo " set ft=$ft" - echo "catch" - echo " echo v:exception" - echo " exec ':cq!'" - echo "endtry" - done + echo "source scripts/test_filetypes.vim" echo "exec ':q!'" ) |