diff --git a/plugin/webdevicons.vim b/plugin/webdevicons.vim index 596ec68..4624c3d 100644 --- a/plugin/webdevicons.vim +++ b/plugin/webdevicons.vim @@ -188,6 +188,7 @@ function! s:setDictionaries() \ 'rb' : '', \ 'gemspec' : '', \ 'rake' : '', + \ 'cr' : '', \ 'php' : '', \ 'py' : '', \ 'pyc' : '', diff --git a/test/filetype.vim b/test/filetype.vim index f070a0a..ee6fe4e 100644 --- a/test/filetype.vim +++ b/test/filetype.vim @@ -29,6 +29,17 @@ function! s:suite.__OneArgument_RubyIcon__() endfor endfunction +function! s:suite.__OneArgument_CrystalIcon__() + let targetfilenames = ['test.cr'] + let expecticon = '' + let child = themis#suite('OneArgument_CrystalIcon') + + for targetfilename in targetfilenames + let child[targetfilename] = funcref('s:Assert', [targetfilename, expecticon]) + endfor +endfunction + + function! s:suite.__OneArgument_MarkDownIcon__() let targetfilenames = ['test.md', 'test.markdown', 'test.mdx', 'test.rmd'] let expecticon = ''