diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-23 19:37:50 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-23 19:37:58 +0200 |
commit | 33f0964d53270e627e9293a3a7a2badb44353a0b (patch) | |
tree | 7372ececa3d57e4e47da3c21831a35755e637832 /tests/filetypes.vim | |
parent | 92cb76e33a9ba4d8ac72018a26c2e99ba50d971c (diff) | |
download | vim-polyglot-33f0964d53270e627e9293a3a7a2badb44353a0b.tar.gz vim-polyglot-33f0964d53270e627e9293a3a7a2badb44353a0b.zip |
Update test script to ruby
Diffstat (limited to 'tests/filetypes.vim')
-rw-r--r-- | tests/filetypes.vim | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/filetypes.vim b/tests/filetypes.vim index 02d44ca4..3128a730 100644 --- a/tests/filetypes.vim +++ b/tests/filetypes.vim @@ -1,13 +1,8 @@ function! TestFiletype(filetype) - try - enew - exec 'set ft=' . a:filetype - catch - echo 'Error loading filetype ' . a:filetype . ':' - echo v:exception - echo v:throwpoint - exec ':cq!' - endtry + call Log('Loading ' . a:filetype . ' filetype...') + + enew + exec 'set ft=' . a:filetype endfunction call TestFiletype('8th') |