diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/filetypes.vim | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/filetypes.vim b/tests/filetypes.vim index d77ade81..5676807d 100644 --- a/tests/filetypes.vim +++ b/tests/filetypes.vim @@ -1,10 +1,17 @@ function! TestFiletype(filetype) call Log('Loading ' . a:filetype . ' filetype...') - enew - exec 'set ft=' . a:filetype + try + enew + exec 'set ft=' . a:filetype + catch + echo 'Failed to load ' . a:filetype . ' filetype...' + echo v:exception + endtry endfunction +" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE + call TestFiletype('8th') call TestFiletype('cfg') call TestFiletype('master') @@ -625,3 +632,5 @@ call TestFiletype('logcheck') call TestFiletype('svn') call TestFiletype('text') call TestFiletype('pullrequest') + +" DO NOT EDIT CODE ABOVE, IT IS GENERATED WITH MAKEFILE |