diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-24 12:34:24 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-24 12:34:24 +0200 |
commit | be8d039e02e4e4219639935aafa1194932e980e7 (patch) | |
tree | 875d2546e002b305f135c457518d0b070578c7db /scripts/test | |
parent | 38ce8e9cb6ad2fb99401f4dc13b9032547893b25 (diff) | |
download | vim-polyglot-be8d039e02e4e4219639935aafa1194932e980e7.tar.gz vim-polyglot-be8d039e02e4e4219639935aafa1194932e980e7.zip |
Remove vifm and test all filetypes
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!'" ) |