Remove git_commit syntax highlighting from core Zed (#9025)
Fallback to extension https://github.com/zed-industries/extensions/pull/307 Release Notes: - Remove git_commit syntax highlighting from Zed core, `git-firefly` extension replaced that Co-authored-by: William Desportes <williamdes@wdes.fr> Co-authored-by: Kirill Bulatov <mail4score@gmail.com> Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
This commit is contained in:
parent
85e6bc94e9
commit
b5370cd15a
8 changed files with 0 additions and 72 deletions
|
@ -49,7 +49,6 @@ tree-sitter-elixir.workspace = true
|
|||
tree-sitter-elm.workspace = true
|
||||
tree-sitter-embedded-template.workspace = true
|
||||
tree-sitter-erlang.workspace = true
|
||||
tree-sitter-gitcommit.workspace = true
|
||||
tree-sitter-gleam.workspace = true
|
||||
tree-sitter-glsl.workspace = true
|
||||
tree-sitter-go.workspace = true
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
name = "Git Commit"
|
||||
grammar = "git_commit"
|
||||
path_suffixes = [
|
||||
# Refer to https://github.com/neovim/neovim/blob/master/runtime/lua/vim/filetype.lua#L1286-L1290
|
||||
"TAG_EDITMSG",
|
||||
"MERGE_MSG",
|
||||
"COMMIT_EDITMSG",
|
||||
"NOTES_EDITMSG",
|
||||
"EDIT_DESCRIPTION",
|
||||
]
|
||||
line_comments = ["#"]
|
||||
brackets = []
|
|
@ -1,34 +0,0 @@
|
|||
(comment) @comment
|
||||
(generated_comment) @comment
|
||||
(title) @text.title
|
||||
(text) @text
|
||||
(branch) @text.reference
|
||||
(change) @keyword
|
||||
(filepath) @text.uri
|
||||
(arrow) @punctuation.delimiter
|
||||
|
||||
(subject) @text.title
|
||||
(subject (overflow) @text)
|
||||
(prefix (type) @keyword)
|
||||
(prefix (scope) @parameter)
|
||||
(prefix [
|
||||
"("
|
||||
")"
|
||||
":"
|
||||
] @punctuation.delimiter)
|
||||
(prefix [
|
||||
"!"
|
||||
] @punctuation.special)
|
||||
|
||||
(message) @text
|
||||
|
||||
(trailer (token) @keyword)
|
||||
(trailer (value) @text)
|
||||
|
||||
(breaking_change (token) @text.warning)
|
||||
(breaking_change (value) @text)
|
||||
|
||||
(scissor) @comment
|
||||
(subject_prefix) @keyword
|
||||
|
||||
(ERROR) @error
|
|
@ -1,8 +0,0 @@
|
|||
((diff) @injection.content
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language "diff"))
|
||||
|
||||
((rebase_command) @injection.content
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language "git_rebase"))
|
||||
|
|
@ -82,7 +82,6 @@ pub fn init(
|
|||
tree_sitter_embedded_template::language(),
|
||||
),
|
||||
("erlang", tree_sitter_erlang::language()),
|
||||
("git_commit", tree_sitter_gitcommit::language()),
|
||||
("gleam", tree_sitter_gleam::language()),
|
||||
("glsl", tree_sitter_glsl::language()),
|
||||
("go", tree_sitter_go::language()),
|
||||
|
@ -214,7 +213,6 @@ pub fn init(
|
|||
);
|
||||
}
|
||||
}
|
||||
language!("gitcommit");
|
||||
language!("erlang", vec![Arc::new(erlang::ErlangLspAdapter)]);
|
||||
|
||||
language!("gleam", vec![Arc::new(gleam::GleamLspAdapter)]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue