Skip to content

Commit

Permalink
bugfix for readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
jayli committed Dec 19, 2023
1 parent 23c647a commit abf4f41
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions doc/easycomplete.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,51 +168,6 @@ have a Tabnine's Pro API key or purchased a subscription license. To configure,
need to use the TabNine' magic string (https://www.tabnine.com/faq#special_commands).
Type `Tabnine::config` in insert mode to open the configuration panel.

===============================================================================

Beautify the vim completion menu

There are four build-in popup menu themes in cterm: `blue`,`light`,`rider` and
`sharp`. (`let g:easycomplete_scheme="sharp"`). Customise vim completion menu
via these configurations:

- Set `let g:easycomplete_menuflag_buf = '[B]'` for keywords menu flag.
- Set `let g:easycomplete_kindflag_buf = ''` for keywords kind flag.
- Set `let g:easycomplete_menuflag_dict = '[D]'` for dictionary menu flag.
- Set `let g:easycomplete_kindflag_dict = ''` for dictionary kind flag.
- Set `let g:easycomplete_menuflag_snip = '[S]'` for snippets menu flag.
- Set `let g:easycomplete_kindflag_snip = 's'` for snippets kind flag.
- Set `let g:easycomplete_kindflag_tabnine = ''` for TabNine kind flag.
- Set `let g:easycomplete_lsp_type_font = {...}` for custom fonts.

Example configuration with <https://nerdfonts.com>: >

let g:easycomplete_menuflag_buf = ""
let g:easycomplete_kindflag_buf = "⚯"
let g:easycomplete_menuflag_snip = ""
let g:easycomplete_kindflag_snip = "ട"
let g:easycomplete_kindflag_dict = "≡"
let g:easycomplete_menuflag_dict = ""
let g:easycomplete_kindflag_tabnine = ""
let g:easycomplete_lsp_type_font = {
\ 'text' : '⚯', 'method':'m', 'function': 'f',
\ 'constructor' : '≡', 'field': 'f', 'default':'d',
\ 'variable' : '𝘤', 'class':'c', 'interface': 'i',
\ 'module' : 'm', 'property': 'p', 'unit':'u',
\ 'value' : '𝘧', 'enum': 'e', 'keyword': 'k',
\ 'snippet': '𝘧', 'color': 'c', 'file':'f',
\ 'reference': 'r', 'folder': 'f', 'enummember': 'e',
\ 'constant':'c', 'struct': 's', 'event':'e',
\ 'typeparameter': 't', 'var': 'v', 'const': 'c',
\ 'operator':'o',
\ 't':'𝘵', 'f':'𝘧', 'c':'𝘤', 'm':'𝘮', 'u':'𝘶', 'e':'𝘦',
\ 's':'𝘴', 'v':'𝘷', 'i':'𝘪', 'p':'𝘱', 'k':'𝘬', 'r':'𝘳',
\ 'o':"𝘰", 'l':"𝘭", 'a':"𝘢", 'd':'𝘥',
\ }
<

You can define icon alias via giving fullnames and shortname.

===============================================================================

Get More Info: https://github.com/jayli/vim-easycomplete
Expand Down

0 comments on commit abf4f41

Please sign in to comment.