From 9e29dc177d832aa4903803cf8f0e65a316f19d50 Mon Sep 17 00:00:00 2001 From: lijing00333 Date: Mon, 1 Jan 2024 20:36:21 +0800 Subject: [PATCH] bugfix for local var icon --- custom-config.md | 1 + plugin/easycomplete.vim | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/custom-config.md b/custom-config.md index 1d07a86a..9dd4443c 100644 --- a/custom-config.md +++ b/custom-config.md @@ -27,6 +27,7 @@ vim.g.easycomplete_kind_icons = { tabnine = "󱙺", operator = "󰞷", class = "", + local = "✎", constant = "", enum = "", field = "", diff --git a/plugin/easycomplete.vim b/plugin/easycomplete.vim index 9c650f32..75040738 100644 --- a/plugin/easycomplete.vim +++ b/plugin/easycomplete.vim @@ -65,6 +65,7 @@ if g:easycomplete_nerd_font == 1 \ 'const': get(kind_icons, "const", ""), 'alias': get(kind_icons, 'alias', ""), \ 'let': get(kind_icons, "let", ""), 'parameter': get(kind_icons, 'parameter', "󰏗"), \ 'operator': get(kind_icons, 'operator', "󱧕"), 'property': get(kind_icons, 'property', "󰙅"), + \ 'local': get(kind_icons, 'local', "󱘫"), \ 'r':'', 't':'', \ 'f':'f', 'c':'', \ 'u':'𝘶', 'e':'𝘦', @@ -72,7 +73,7 @@ if g:easycomplete_nerd_font == 1 \ 'i':'𝘪', 'm':'', \ 'p':'𝘱', 'k':'𝘬', \ 'o':"󱧕", 'd':'𝘥', - \ 'l':"𝘭", 'a':"𝘢", + \ 'l':"󱘫", 'a':"𝘢", \ } endif