Skip to content

Commit

Permalink
Updated material design icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Deftera186 committed Jun 5, 2023
1 parent 71f239a commit d7e7c87
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions plugin/webdevicons.vim
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function! s:setDictionaries()
\ 'cc' : '',
\ 'cp' : '',
\ 'c' : '',
\ 'cs' : '',
\ 'cs' : '󰌛',
\ 'h' : '',
\ 'hh' : '',
\ 'hpp' : '',
Expand Down Expand Up @@ -278,15 +278,15 @@ function! s:setDictionaries()
\ 'tsx' : '',
\ 'jl' : '',
\ 'pp' : '',
\ 'vue' : '',
\ 'vue' : '󰡄',
\ 'elm' : '',
\ 'swift' : '',
\ 'xcplayground' : '',
\ 'tex' : '',
\ 'r' : '',
\ 'rproj' : '',
\ 'sol' : '',
\ 'pem' : ''
\ 'tex' : '󰙩',
\ 'r' : '󰟔',
\ 'rproj' : '󰗆',
\ 'sol' : '󰡪',
\ 'pem' : '󰌋'
\}

let s:file_node_exact_matches = {
Expand Down Expand Up @@ -326,7 +326,7 @@ function! s:setDictionaries()
\ 'gemfile' : '',
\ 'makefile' : '',
\ 'cmakelists.txt' : '',
\ 'robots.txt' : ''
\ 'robots.txt' : '󰚩'
\}

let s:file_node_pattern_matches = {
Expand Down
16 changes: 8 additions & 8 deletions test/filetype.vim
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function! s:suite.OneArgument_GetTypeScriptIcon()
endfunction

function! s:suite.OneArgument_GetVueIcon()
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.vue'), '')
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.vue'), '󰡄')
endfunction

function! s:suite.OneArgument_GetNodeModuleIcon()
Expand All @@ -220,7 +220,7 @@ function! s:suite.OneArgument_GetDropboxIcon()
endfunction

function! s:suite.OneArgument_GetRIcon()
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.r'), '')
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.r'), '󰟔')
endfunction

function! s:suite.OneArgument_GetLuaIcon()
Expand All @@ -236,11 +236,11 @@ function! s:suite.OneArgument_GetCIcon()
endfunction

function! s:suite.OneArgument_GetCSSIcon()
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.cs'), '')
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.cs'), '󰌛')
endfunction

function! s:suite.OneArgument_GetCSharpIcon()
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.cs'), '')
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.cs'), '󰌛')
endfunction

function! s:suite.OneArgument_GetElmIcon()
Expand All @@ -256,7 +256,7 @@ function! s:suite.OneArgument_GetDartIcon()
endfunction

function! s:suite.OneArgument_GetSolidityIcon()
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.sol'), '')
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.sol'), '󰡪')
endfunction

function! s:suite.OneArgument_GetGoIcon()
Expand All @@ -272,19 +272,19 @@ function! s:suite.OneArgument_GetScalaIcon()
endfunction

function! s:suite.OneArgument_GetTexIcon()
call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.tex'), '')
call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.tex'), '󰙩')
endfunction

function! s:suite.OneArgument_GetLicenseIcon()
call s:assert.equals( WebDevIconsGetFileTypeSymbol('LICENSE'), '')
endfunction

function! s:suite.OneArgument_GetRobotIcon()
call s:assert.equals( WebDevIconsGetFileTypeSymbol('robots.txt'), '')
call s:assert.equals( WebDevIconsGetFileTypeSymbol('robots.txt'), '󰚩')
endfunction

function! s:suite.OneArgument_PemIcon()
call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.pem'), '')
call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.pem'), '󰌋')
endfunction

function! s:suite.TwoArgument_zero_GetFileIcon()
Expand Down

0 comments on commit d7e7c87

Please sign in to comment.