Skip to content

Nerdfonts completion source of coc.nvim.

License

Notifications You must be signed in to change notification settings

shadowwa/coc-nerdfonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coc Nerdfonts

Nerdfonts completion source of coc.nvim.

Find nerdfonts icon without looking up to the cheatsheet website.

Install

:CocInstall coc-nerdfonts

Configuration

To complete nerdfonts source, type nf- as trigger pattern.

It is also possible to change the nerdfonts trigger pattern by putting "coc.source.nerdfonts.triggerPatterns": ["TRIGGERPATTERN"] in your coc-settings.json

By default this source is only activated for markdown file, you can add other filetype by putting "coc.source.nerdfonts.filetypes": ["FILETYPE1", "FILETYPE2"] in your coc-settings.json

Update nerdfonts

To update the dictionary file:

ruby nerdfontslist.rb

Based on the coc-emoji extension.