Skip to content

(WIP) nvim-cmp source for autocompleting git commits with conventional commits types and lerna packages as scope

License

Notifications You must be signed in to change notification settings

davidsierradz/cmp-conventionalcommits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmp-conventionalcommits

Alpha — Work in progress

Conventional Commits source for nvim-cmp.

Reads your configured scopes from commitlint:

example_1

If you have Lerna, completes your local packages in the scope:

example_2

Setup

Setup in after/ftplugin/gitcommit.lua

require'cmp'.setup.buffer {
  sources = require'cmp'.config.sources(
    {{ name = 'conventionalcommits' }},
    {{ name = 'buffer' }}
  ),
}

About

(WIP) nvim-cmp source for autocompleting git commits with conventional commits types and lerna packages as scope

Topics

Resources

License

Stars

Watchers

Forks

Languages