Skip to content

Commit f7f498e

Browse files
committed
Updated material design icons (Issue #452)
1 parent 71f239a commit f7f498e

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

plugin/webdevicons.vim

+8-8
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function! s:setDictionaries()
217217
\ 'cc' : '',
218218
\ 'cp' : '',
219219
\ 'c' : '',
220-
\ 'cs' : '',
220+
\ 'cs' : '󰌛',
221221
\ 'h' : '',
222222
\ 'hh' : '',
223223
\ 'hpp' : '',
@@ -278,15 +278,15 @@ function! s:setDictionaries()
278278
\ 'tsx' : '',
279279
\ 'jl' : '',
280280
\ 'pp' : '',
281-
\ 'vue' : '',
281+
\ 'vue' : '󰡄',
282282
\ 'elm' : '',
283283
\ 'swift' : '',
284284
\ 'xcplayground' : '',
285-
\ 'tex' : '',
286-
\ 'r' : '',
287-
\ 'rproj' : '',
288-
\ 'sol' : '',
289-
\ 'pem' : ''
285+
\ 'tex' : '󰙩',
286+
\ 'r' : '󰟔',
287+
\ 'rproj' : '󰗆',
288+
\ 'sol' : '󰡪',
289+
\ 'pem' : '󰌋'
290290
\}
291291

292292
let s:file_node_exact_matches = {
@@ -326,7 +326,7 @@ function! s:setDictionaries()
326326
\ 'gemfile' : '',
327327
\ 'makefile' : '',
328328
\ 'cmakelists.txt' : '',
329-
\ 'robots.txt' : ''
329+
\ 'robots.txt' : '󰚩'
330330
\}
331331

332332
let s:file_node_pattern_matches = {

test/filetype.vim

+8-8
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function! s:suite.OneArgument_GetTypeScriptIcon()
208208
endfunction
209209

210210
function! s:suite.OneArgument_GetVueIcon()
211-
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.vue'), '')
211+
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.vue'), '󰡄')
212212
endfunction
213213

214214
function! s:suite.OneArgument_GetNodeModuleIcon()
@@ -220,7 +220,7 @@ function! s:suite.OneArgument_GetDropboxIcon()
220220
endfunction
221221

222222
function! s:suite.OneArgument_GetRIcon()
223-
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.r'), '')
223+
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.r'), '󰟔')
224224
endfunction
225225

226226
function! s:suite.OneArgument_GetLuaIcon()
@@ -236,11 +236,11 @@ function! s:suite.OneArgument_GetCIcon()
236236
endfunction
237237

238238
function! s:suite.OneArgument_GetCSSIcon()
239-
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.cs'), '')
239+
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.cs'), '󰌛')
240240
endfunction
241241

242242
function! s:suite.OneArgument_GetCSharpIcon()
243-
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.cs'), '')
243+
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.cs'), '󰌛')
244244
endfunction
245245

246246
function! s:suite.OneArgument_GetElmIcon()
@@ -256,7 +256,7 @@ function! s:suite.OneArgument_GetDartIcon()
256256
endfunction
257257

258258
function! s:suite.OneArgument_GetSolidityIcon()
259-
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.sol'), '')
259+
call s:assert.equals(WebDevIconsGetFileTypeSymbol('test.sol'), '󰡪')
260260
endfunction
261261

262262
function! s:suite.OneArgument_GetGoIcon()
@@ -272,19 +272,19 @@ function! s:suite.OneArgument_GetScalaIcon()
272272
endfunction
273273

274274
function! s:suite.OneArgument_GetTexIcon()
275-
call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.tex'), '')
275+
call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.tex'), '󰙩')
276276
endfunction
277277

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

282282
function! s:suite.OneArgument_GetRobotIcon()
283-
call s:assert.equals( WebDevIconsGetFileTypeSymbol('robots.txt'), '')
283+
call s:assert.equals( WebDevIconsGetFileTypeSymbol('robots.txt'), '󰚩')
284284
endfunction
285285

286286
function! s:suite.OneArgument_PemIcon()
287-
call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.pem'), '')
287+
call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.pem'), '󰌋')
288288
endfunction
289289

290290
function! s:suite.TwoArgument_zero_GetFileIcon()

0 commit comments

Comments
 (0)