Skip to content

akirak/conventional-commit.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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.

Installation

This package is not available on any popular package registry yet.

Configuration

This package provides conventional-commit-setup function which enables completion via completion-at-point-functions locally. If you are a user of use-package, you can use the following snippet:

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

If you are using company-mode for completion, you have to add company-capf to company-backends (you should be already doing this if you are a user of eglot or lsp-mode):

(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