From 94129b68e898f195881ad4f0919cd0a6f696d0af Mon Sep 17 00:00:00 2001 From: lijing00333 Date: Mon, 1 Jan 2024 17:47:30 +0800 Subject: [PATCH] add readme files --- README.md | 2 +- custom-config.md | 1 + plugin/easycomplete.vim | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index af5b6b56..0849731b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ There are many excellent vim auto-completion plugins such as [nvim-cmp](https:// Vim-easycomplete is a fast and minimalism style completion plugin for vim/nvim. The goal is to work everywhere out of the box. It requires pure VimScript. It's also super simple to configure. For example, You do not have to install Node and a bunch of Node modules unless you write node code. - +https://github.com/jayli/vim-easycomplete/assets/188244/5fdef6cb-ef1d-4428-960e-d9802cbc2a84 It contains these features: diff --git a/custom-config.md b/custom-config.md index e2e865a8..821777d6 100644 --- a/custom-config.md +++ b/custom-config.md @@ -49,6 +49,7 @@ vim.g.easycomplete_kind_icons = { var = "", alias = "", parameter = "󰏗", + property = "󰙅" } -- Custom pum format. Only avilable with `g:easycomplete_nerd_font == 1` in nvim diff --git a/plugin/easycomplete.vim b/plugin/easycomplete.vim index c3e144a3..9c650f32 100644 --- a/plugin/easycomplete.vim +++ b/plugin/easycomplete.vim @@ -64,7 +64,7 @@ if g:easycomplete_nerd_font == 1 \ 'event': get(kind_icons, "event", ''), 'var': get(kind_icons, "var", ""), \ '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', "󱧕"), + \ 'operator': get(kind_icons, 'operator', "󱧕"), 'property': get(kind_icons, 'property', "󰙅"), \ 'r':'', 't':'', \ 'f':'f', 'c':'', \ 'u':'𝘶', 'e':'𝘦',