From ab367e9c97384ba76e70de27d0f818f5f6c3633a Mon Sep 17 00:00:00 2001 From: kpbaks Date: Thu, 30 Oct 2025 20:39:47 +0100 Subject: [PATCH] languages: add commit-lsp for git-commit language --- book/src/generated/lang-support.md | 2 +- languages.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index f2d94a1caa41..7a577bbc9eb1 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -83,7 +83,7 @@ | ghostty | ✓ | | | | | | | git-attributes | ✓ | | | | | | | git-cliff-config | ✓ | ✓ | | | ✓ | `taplo`, `tombi` | -| git-commit | ✓ | ✓ | | | | | +| git-commit | ✓ | ✓ | | | | `commit-lsp` | | git-config | ✓ | ✓ | | | | | | git-ignore | ✓ | | | | | | | git-notes | ✓ | | | | | | diff --git a/languages.toml b/languages.toml index 2d1074aa5612..215be61d6b8d 100644 --- a/languages.toml +++ b/languages.toml @@ -26,6 +26,7 @@ clangd = { command = "clangd" } clojure-lsp = { command = "clojure-lsp" } cmake-language-server = { command = "cmake-language-server" } codeql = { command = "codeql", args = ["execute", "language-server", "--check-errors=ON_CHANGE"] } +commit-lsp = { command = "commit-lsp", args = ["run"] } crystalline = { command = "crystalline", args = ["--stdio"] } cs = { command = "cs", args = ["launch", "--contrib", "smithy-language-server", "--", "0"] } csharp-ls = { command = "csharp-ls" } @@ -2010,6 +2011,7 @@ indent = { tab-width = 4, unit = " " } rulers = [51, 73] text-width = 72 grammar = "gitcommit" +language-servers = [ "commit-lsp" ] [[grammar]] name = "gitcommit"