Automattic / Automattic/harper

Support sublime-text git message

Open Beginner friendly
#3,781 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
102

Description

When editing commit message in sublime text, I had to do this config to make it work, in `language-ids.sublime-settings`:
```
{
"text.git.commit": "git-commit"
}
```

It would be nice to add that language in the list for git commit: `git` (sublime text send `"languageId": "git"`)

I think here: https://github.com/Automattic/harper/blob/515a97b7f93b4afbcfe138e80e79140a3faab133/harper-ls/src/backend.rs#L364

Contributor guide

Open the contributing guide

Research direction

Start at harper-ls/src/backend.rs around line 364 and inspect the list of language IDs recognized for Git commit messages. Add Sublime Text's "git" language ID to that list, then verify that commit messages reporting languageId "git" are recognized.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
developer-experience
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.