From 870e4c8b54c09b7982cc1ed0a81eed68490d4b7a Mon Sep 17 00:00:00 2001 From: Palash Bauri Date: Fri, 26 May 2023 17:16:28 +0530 Subject: [PATCH] Added zig icon --- plugin/webdevicons.vim | 3 ++- test/filetype.vim | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugin/webdevicons.vim b/plugin/webdevicons.vim index 596ec68..e447ea2 100644 --- a/plugin/webdevicons.vim +++ b/plugin/webdevicons.vim @@ -286,7 +286,8 @@ function! s:setDictionaries() \ 'r' : 'ﳒ', \ 'rproj' : '鉶', \ 'sol' : 'ﲹ', - \ 'pem' : '' + \ 'pem' : '', + \ 'zig' : '', \} let s:file_node_exact_matches = { diff --git a/test/filetype.vim b/test/filetype.vim index 3669ad9..aa12db2 100644 --- a/test/filetype.vim +++ b/test/filetype.vim @@ -287,6 +287,10 @@ function! s:suite.OneArgument_PemIcon() call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.pem'), '') endfunction +function! s:suite.OneArgument_GetZigIcon() + call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.zig'), '') +endfunction + function! s:suite.TwoArgument_zero_GetFileIcon() call s:assert.equals( WebDevIconsGetFileTypeSymbol('test.vim', 0), '') endfunction