From a9077ff7ddc0545857a875366c669f0d6679fa27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adelar=20da=20Silva=20Queir=C3=B3z?= Date: Fri, 1 Apr 2022 23:04:58 -0300 Subject: [PATCH] Better support for git files --- Changelog.md | 4 ++++ plugin/vim-emoji-icon-theme.vim | 4 ++++ test/filetypes/{ => c}/a.c | 0 test/filetypes/{ => c}/a.cbl | 0 test/filetypes/{ => c}/a.cs | 0 test/filetypes/{ => p}/a.php | 0 test/filetypes/{ => p}/a.png | 0 test/filetypes/{ => p}/a.pp | 0 test/filetypes/{ => p}/a.py | 0 test/filetypes/{ => p}/pom.xml | 0 10 files changed, 8 insertions(+) rename test/filetypes/{ => c}/a.c (100%) rename test/filetypes/{ => c}/a.cbl (100%) rename test/filetypes/{ => c}/a.cs (100%) rename test/filetypes/{ => p}/a.php (100%) rename test/filetypes/{ => p}/a.png (100%) rename test/filetypes/{ => p}/a.pp (100%) rename test/filetypes/{ => p}/a.py (100%) rename test/filetypes/{ => p}/pom.xml (100%) diff --git a/Changelog.md b/Changelog.md index 5d1dcdc..b74387d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Changelog 🍁 +## Version 0.94 + +- Better support for git files + ## Version 0.93 - Add support for `.gitignore` and `*.fsscript` files. diff --git a/plugin/vim-emoji-icon-theme.vim b/plugin/vim-emoji-icon-theme.vim index 9df26ae..205ca98 100644 --- a/plugin/vim-emoji-icon-theme.vim +++ b/plugin/vim-emoji-icon-theme.vim @@ -154,6 +154,7 @@ let s:iconText = '📝' let s:iconTodo = '🚧' let s:iconTypeScript = '🔷' let s:iconV = '✅' +let s:iconVCS = '🌱' let s:iconVSCode = '🆚' let s:iconVideo = '🎞 ' let s:iconVim = '🍃' @@ -1265,6 +1266,7 @@ local iconText = '📝' local iconTodo = '🚧' local iconTypeScript = '🔷' local iconV = '✅' +local iconVCS = '🌱' local iconVSCode = '🆚' local iconVideo = '🎞 ' local iconVim = '🍃' @@ -1291,6 +1293,8 @@ if use then imported.set_icon { ["License"] = {icon = iconDocument, color = "#000000",name = "License" } } imported.set_icon { ["LICENSE"] = {icon = iconDocument, color = "#000000",name = "License" } } imported.set_icon { ["Dockerfile"] = {icon = iconDocker, color = "#000000",name = "Dockerfile" } } + imported.set_icon { [".gitattributes"] = {icon = iconVCS, color = "#000000",name = ".gitattributes" } } + imported.set_icon { [".gitignore"] = {icon = iconVCS, color = "#000000",name = ".gitignore" } } -- imported.set_icon { ["Makefile"] = {icon = iconMake, color = "#000000",name = "Makefile" } } imported.set_icon { aar = {icon = iconPackage, color = "#000000",name = "aar" } } diff --git a/test/filetypes/a.c b/test/filetypes/c/a.c similarity index 100% rename from test/filetypes/a.c rename to test/filetypes/c/a.c diff --git a/test/filetypes/a.cbl b/test/filetypes/c/a.cbl similarity index 100% rename from test/filetypes/a.cbl rename to test/filetypes/c/a.cbl diff --git a/test/filetypes/a.cs b/test/filetypes/c/a.cs similarity index 100% rename from test/filetypes/a.cs rename to test/filetypes/c/a.cs diff --git a/test/filetypes/a.php b/test/filetypes/p/a.php similarity index 100% rename from test/filetypes/a.php rename to test/filetypes/p/a.php diff --git a/test/filetypes/a.png b/test/filetypes/p/a.png similarity index 100% rename from test/filetypes/a.png rename to test/filetypes/p/a.png diff --git a/test/filetypes/a.pp b/test/filetypes/p/a.pp similarity index 100% rename from test/filetypes/a.pp rename to test/filetypes/p/a.pp diff --git a/test/filetypes/a.py b/test/filetypes/p/a.py similarity index 100% rename from test/filetypes/a.py rename to test/filetypes/p/a.py diff --git a/test/filetypes/pom.xml b/test/filetypes/p/pom.xml similarity index 100% rename from test/filetypes/pom.xml rename to test/filetypes/p/pom.xml