pulsar/packages/language-git
confused_techie 2eab519e23
Merge pull request #209 from Sertonix/add-or-update-packages-package-lock.js
add or update `packages/*/package-lock.json`
2022-12-13 18:21:25 -08:00
..
grammars ➡️ Migrate all language packages 2022-06-25 19:58:57 +00:00
settings ➡️ Migrate all language packages 2022-06-25 19:58:57 +00:00
snippets ➡️ Migrate all language packages 2022-06-25 19:58:57 +00:00
spec ➡️ Migrate all language packages 2022-06-25 19:58:57 +00:00
.gitignore ➡️ Migrate all language packages 2022-06-25 19:58:57 +00:00
LICENSE.md rebrand and relicence 2022-12-03 02:46:08 +00:00
package-lock.json add or update packages/*/package-lock.json 2022-12-10 19:13:50 +01:00
package.json Merge branch 'master' into remove-coffeelint 2022-12-03 20:45:45 -08:00
README.md rebrand and relicence 2022-12-03 02:46:08 +00:00

Git editing support in Pulsar

Adds syntax highlighting to Git commit, merge, and rebase messages edited in Pulsar.

You can configure Pulsar to be your Git editor with the following command:

git config --global core.editor "pulsar --wait"

Commit message highlighting

This package uses warning and error highlighting to help bring attention to some violations of standard conventions around commit message best practices:

  1. If the subject line goes beyond 50 characters and again if it goes beyond 72 characters
  2. If the subject line begins with a lower-case letter (emoji at the beginning of the subject line won't be highlighted)
  3. If the subject line ends with a period
  4. If any non-comment body line goes beyond 72 characters

Diff highlighting

If language-diff is installed, the diff part of git commit --verbose messages is highlighted as well.

Background

Originally converted from the Git TextMate bundle.

Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.