Skip to content

Commit 17acadb

Browse files
authored
Use markdown language for hub pull-request files (#5634)
The hub[^1] command-line tool uses a file called `PULLREQ_EDITMSG`[^2]. This file is used to edit the text from of each commit being submitted in a pull request, and the final content is rendered as markdown by GitHub. This commit adds `PULLREQ_EDITMSG` to the list of markdown file-types. [^1]: https://github.com/github/hub [^2]: https://github.com/github/hub/blob/c8e68d548a39ec0fab6f674a669c21b54d4eec61/commands/pull_request.go#L225
1 parent 769fb5f commit 17acadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "568dd
10191019
name = "markdown"
10201020
scope = "source.md"
10211021
injection-regex = "md|markdown"
1022-
file-types = ["md", "markdown"]
1022+
file-types = ["md", "markdown", "PULLREQ_EDITMSG"]
10231023
roots = [".marksman.toml"]
10241024
language-server = { command = "marksman", args=["server"] }
10251025
indent = { tab-width = 2, unit = " " }

0 commit comments

Comments
 (0)