
This PR adds support for triple-slash (`///`) doc comments in C#. As requested by https://github.com/zed-industries/zed/issues/18766. Release Notes: - N/A
14 lines
635 B
TOML
14 lines
635 B
TOML
name = "CSharp"
|
|
code_fence_block_name = "csharp"
|
|
grammar = "c_sharp"
|
|
path_suffixes = ["cs"]
|
|
line_comments = ["// ", "/// "]
|
|
autoclose_before = ";:.,=}])>"
|
|
brackets = [
|
|
{ start = "{", end = "}", close = true, newline = true },
|
|
{ start = "[", end = "]", close = true, newline = true },
|
|
{ start = "(", end = ")", close = true, newline = true },
|
|
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },
|
|
{ start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] },
|
|
{ start = "/*", end = " */", close = true, newline = false, not_in = ["string", "comment"] },
|
|
]
|