Fix test and loading of filetypes, closes #577

This commit is contained in:
Adam Stankiewicz
2020-10-07 21:51:30 +02:00
parent 9f4e2b6834
commit 4bec20ec1a
13 changed files with 332 additions and 24 deletions

View File

@@ -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