Skip to content

mikanIchinose/ddc-gitmoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ddc-gitmoji

gitmoji source for ddc.vim

Required

denops.vim

https://github.com/vim-denops/denops.vim

ddc.vim

https://github.com/Shougo/ddc.vim

Configuration

" Use gitmoji source
call ddc#custom#patch_global('sources', ['gitmoji'])

" Add matching pattern
call ddc#custom#patch_global('keywordPattern', '[a-zA-Z_:]\w*')

" Change source options
call ddc#custom#patch_global('sourceOptions', {
  \ 'gitmoji': {
  \	'mark': 'gitmoji',
  \	'matchers': ['gitmoji'],
  \	'sorters': [],
  \	},
  \  })

" Change source params
call ddc#custom#patch_global('sourceParams', {
  \ 'gitmoji': {
  \	'altCodes': {
  \      ':bug:': ':fix:',
  \      ':fire:': ':remove:'
  \      },
  \    },
  \  })

Screenshots

About

gitmoji source for ddc.vim

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •