diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-14 23:01:53 +0200 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-14 23:01:53 +0200 | 
| commit | bbee246aaeb7fb689c7a2ae2bb911e34cabe7b00 (patch) | |
| tree | 7fb14a8cb7d7fb1579e46f79ff7c43838dcfbadb /tests/filetypes.vim | |
| parent | 3da600ac3070976142f81025b53dda44d99d44e4 (diff) | |
| download | vim-polyglot-bbee246aaeb7fb689c7a2ae2bb911e34cabe7b00.tar.gz vim-polyglot-bbee246aaeb7fb689c7a2ae2bb911e34cabe7b00.zip  | |
Add and fix tests from upstream vim
Diffstat (limited to 'tests/filetypes.vim')
| -rw-r--r-- | tests/filetypes.vim | 32 | 
1 files changed, 20 insertions, 12 deletions
diff --git a/tests/filetypes.vim b/tests/filetypes.vim index 1c2daaeb..51fdb3dc 100644 --- a/tests/filetypes.vim +++ b/tests/filetypes.vim @@ -1,22 +1,23 @@ -function! TestFiletype(filetype) +filetype plugin indent on + +func! TestFiletype(filetype)    call Log('Loading ' . a:filetype . ' filetype...')    try      enew      exec 'set ft=' . a:filetype +    exec ":bw!"    catch      echo 'Failed to load ' . a:filetype  . ' filetype...' -    echo v:exception +    throw v:exception +    cq!    endtry -endfunction +endfunc  " DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE  call TestFiletype('8th')  call TestFiletype('cfg') -call TestFiletype('master') -call TestFiletype('conf') -call TestFiletype('haproxy')  call TestFiletype('a2ps')  call TestFiletype('a65')  call TestFiletype('aap') @@ -29,6 +30,8 @@ call TestFiletype('asl')  call TestFiletype('ada')  call TestFiletype('ahdl')  call TestFiletype('aidl') +call TestFiletype('master') +call TestFiletype('conf')  call TestFiletype('alsaconf')  call TestFiletype('aml')  call TestFiletype('ampl') @@ -46,6 +49,7 @@ call TestFiletype('arduino')  call TestFiletype('art')  call TestFiletype('asciidoc')  call TestFiletype('autohotkey') +call TestFiletype('make')  call TestFiletype('elf')  call TestFiletype('automake')  call TestFiletype('asn') @@ -59,6 +63,7 @@ call TestFiletype('caddyfile')  call TestFiletype('carp')  call TestFiletype('clojure')  call TestFiletype('cmake') +call TestFiletype('markdown')  call TestFiletype('coffee')  call TestFiletype('litcoffee')  call TestFiletype('cryptol') @@ -73,8 +78,9 @@ call TestFiletype('dcov')  call TestFiletype('dd')  call TestFiletype('ddoc')  call TestFiletype('dsdl') +call TestFiletype('sed') +call TestFiletype('mysql')  call TestFiletype('yaml') -call TestFiletype('Dockerfile')  call TestFiletype('yaml.docker-compose')  call TestFiletype('elixir')  call TestFiletype('eelixir') @@ -108,6 +114,7 @@ call TestFiletype('grub')  call TestFiletype('haml')  call TestFiletype('html.mustache')  call TestFiletype('html.handlebars') +call TestFiletype('haproxy')  call TestFiletype('haskell')  call TestFiletype('haxe')  call TestFiletype('hcl') @@ -138,7 +145,6 @@ call TestFiletype('lua')  call TestFiletype('m4')  call TestFiletype('mako')  call TestFiletype('mma') -call TestFiletype('markdown')  call TestFiletype('markdown.mdx')  call TestFiletype('meson')  call TestFiletype('dosini') @@ -198,7 +204,6 @@ call TestFiletype('ruby')  call TestFiletype('brewfile')  call TestFiletype('rust')  call TestFiletype('scala') -call TestFiletype('sbt.scala')  call TestFiletype('scss')  call TestFiletype('sh')  call TestFiletype('zsh') @@ -359,6 +364,7 @@ call TestFiletype('hastepreproc')  call TestFiletype('hercules')  call TestFiletype('hex')  call TestFiletype('hollywood') +call TestFiletype('html')  call TestFiletype('tilde')  call TestFiletype('htmlm4')  call TestFiletype('template') @@ -445,7 +451,6 @@ call TestFiletype('mplayerconf')  call TestFiletype('srec')  call TestFiletype('mrxvtrc')  call TestFiletype('msql') -call TestFiletype('mysql')  call TestFiletype('muttrc')  call TestFiletype('mupad')  call TestFiletype('mush') @@ -520,10 +525,10 @@ call TestFiletype('samba')  call TestFiletype('sas')  call TestFiletype('sass')  call TestFiletype('sather') +call TestFiletype('sbt')  call TestFiletype('scilab')  call TestFiletype('sd')  call TestFiletype('sdl') -call TestFiletype('sed')  call TestFiletype('sieve')  call TestFiletype('sm')  call TestFiletype('services') @@ -631,6 +636,9 @@ call TestFiletype('logcheck')  call TestFiletype('svn')  call TestFiletype('text')  call TestFiletype('pullrequest') -call TestFiletype('html') +call TestFiletype('xf86conf')  " DO NOT EDIT CODE ABOVE, IT IS GENERATED WITH MAKEFILE + +filetype plugin indent off +filetype off  | 
