Skip to content

iyefrat/conventional-commit.el

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conventional-commit.el

CI Status

This library provides support for conventional commits in Emacs. It provides a completion function for types and scopes.

Configuration

If you are using eglot or lsp-mode, you have probably added company-capf to company-backends already. You can use the following use-package snippet to enable company completion in git-commit-mode:

(use-package conventional-commit
  :hook
  (git-commit-mode . conventional-commit-setup))

If you haven’t, you have to add company-capf to company-backends:

(add-hook 'company-backends #'company-capf)

To configure the list of types, customize conventional-commit-type-list variable.

To configure scopes, set conventional-commit-scope-table in .dir-locals.el of your project.

About

Completion support for conventional commits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%