Skip to content

Commit 6400b04

Browse files
fix: Typos in schema docs (#194)
1 parent 476e877 commit 6400b04

File tree

5 files changed

+63
-63
lines changed

5 files changed

+63
-63
lines changed

Diff for: bindings/go/scip/scip.pb.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bindings/haskell/src/Proto/Scip.hs

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bindings/rust/src/generated/scip.rs

+52-52
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ pub struct Document {
551551
// message fields
552552
/// The string ID for the programming language this file is written in.
553553
/// The `Language` enum contains the names of most common programming languages.
554-
/// This field is typed as a string to permit any programming langauge, including
554+
/// This field is typed as a string to permit any programming language, including
555555
/// ones that are not specified by the `Language` enum.
556556
// @@protoc_insertion_point(field:scip.Document.language)
557557
pub language: ::std::string::String,
@@ -3305,7 +3305,7 @@ impl DiagnosticTag {
33053305
/// for the `Document.language` field. The primary purpose of this enum is to
33063306
/// prevent a situation where we have a single programming language ends up with
33073307
/// multiple string representations. For example, the C++ language uses the name
3308-
/// "CPlusPlus" in this enum and other names such as "cpp" are incompatible.
3308+
/// "CPP" in this enum and other names such as "cpp" are incompatible.
33093309
/// Feel free to send a pull-request to add missing programming languages.
33103310
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
33113311
// @@protoc_insertion_point(enum:scip.Language)
@@ -3966,7 +3966,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
39663966
\x0fTypeScriptReact\x10^\x12\x0f\n\x0bVisualBasic\x10?\x12\x07\n\x03Vue\
39673967
\x10\x19\x12\x0b\n\x07Wolfram\x105\x12\x07\n\x03XML\x10\x1f\x12\x07\n\
39683968
\x03XSL\x10\x20\x12\x08\n\x04YAML\x10J\x12\x07\n\x03Zig\x10&B/Z-github.c\
3969-
om/sourcegraph/scip/bindings/go/scip/J\xf7\x8c\x02\n\x07\x12\x05\n\0\xef\
3969+
om/sourcegraph/scip/bindings/go/scip/J\xf1\x8c\x02\n\x07\x12\x05\n\0\xef\
39703970
\x05\x01\n\x82\x04\n\x01\x0c\x12\x03\n\0\x122\xf7\x03\x20An\x20index\x20\
39713971
contains\x20one\x20or\x20more\x20pieces\x20of\x20information\x20about\
39723972
\x20a\x20given\x20piece\x20of\n\x20source\x20code\x20or\x20software\x20a\
@@ -4061,7 +4061,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
40614061
e\x20is\x20written\x20in.\n\x20The\x20`Language`\x20enum\x20contains\x20\
40624062
the\x20names\x20of\x20most\x20common\x20programming\x20languages.\n\x20T\
40634063
his\x20field\x20is\x20typed\x20as\x20a\x20string\x20to\x20permit\x20any\
4064-
\x20programming\x20langauge,\x20including\n\x20ones\x20that\x20are\x20no\
4064+
\x20programming\x20language,\x20including\n\x20ones\x20that\x20are\x20no\
40654065
t\x20specified\x20by\x20the\x20`Language`\x20enum.\n\n\x0c\n\x05\x04\x03\
40664066
\x02\0\x05\x12\x03L\x02\x08\n\x0c\n\x05\x04\x03\x02\0\x01\x12\x03L\t\x11\
40674067
\n\x0c\n\x05\x04\x03\x02\0\x03\x12\x03L\x14\x15\n\xb5\x03\n\x04\x04\x03\
@@ -4882,60 +4882,60 @@ static file_descriptor_proto_data: &'static [u8] = b"\
48824882
\x04\x02\x12\n\r\n\x05\x05\x05\x02\x01\x01\x12\x04\xff\x04\x02\r\n\r\n\
48834883
\x05\x05\x05\x02\x01\x02\x12\x04\xff\x04\x10\x11\n\x0c\n\x04\x05\x05\x02\
48844884
\x02\x12\x04\x80\x05\x02\x11\n\r\n\x05\x05\x05\x02\x02\x01\x12\x04\x80\
4885-
\x05\x02\x0c\n\r\n\x05\x05\x05\x02\x02\x02\x12\x04\x80\x05\x0f\x10\n\xd6\
4886-
\x03\n\x02\x05\x06\x12\x06\x89\x05\0\xef\x05\x01\x1a\xc7\x03\x20Language\
4885+
\x05\x02\x0c\n\r\n\x05\x05\x05\x02\x02\x02\x12\x04\x80\x05\x0f\x10\n\xd0\
4886+
\x03\n\x02\x05\x06\x12\x06\x89\x05\0\xef\x05\x01\x1a\xc1\x03\x20Language\
48874887
\x20standardises\x20names\x20of\x20common\x20programming\x20languages\
48884888
\x20that\x20can\x20be\x20used\n\x20for\x20the\x20`Document.language`\x20\
48894889
field.\x20The\x20primary\x20purpose\x20of\x20this\x20enum\x20is\x20to\n\
48904890
\x20prevent\x20a\x20situation\x20where\x20we\x20have\x20a\x20single\x20p\
48914891
rogramming\x20language\x20ends\x20up\x20with\n\x20multiple\x20string\x20\
48924892
representations.\x20For\x20example,\x20the\x20C++\x20language\x20uses\
4893-
\x20the\x20name\n\x20\"CPlusPlus\"\x20in\x20this\x20enum\x20and\x20other\
4894-
\x20names\x20such\x20as\x20\"cpp\"\x20are\x20incompatible.\n\x20Feel\x20\
4895-
free\x20to\x20send\x20a\x20pull-request\x20to\x20add\x20missing\x20progr\
4896-
amming\x20languages.\n\n\x0b\n\x03\x05\x06\x01\x12\x04\x89\x05\x05\r\n\
4897-
\x0c\n\x04\x05\x06\x02\0\x12\x04\x8a\x05\x02\x1a\n\r\n\x05\x05\x06\x02\0\
4898-
\x01\x12\x04\x8a\x05\x02\x15\n\r\n\x05\x05\x06\x02\0\x02\x12\x04\x8a\x05\
4899-
\x18\x19\n\x0c\n\x04\x05\x06\x02\x01\x12\x04\x8b\x05\x02\x0c\n\r\n\x05\
4900-
\x05\x06\x02\x01\x01\x12\x04\x8b\x05\x02\x06\n\r\n\x05\x05\x06\x02\x01\
4901-
\x02\x12\x04\x8b\x05\t\x0b\n\x0c\n\x04\x05\x06\x02\x02\x12\x04\x8c\x05\
4902-
\x02\x0b\n\r\n\x05\x05\x06\x02\x02\x01\x12\x04\x8c\x05\x02\x05\n\r\n\x05\
4903-
\x05\x06\x02\x02\x02\x12\x04\x8c\x05\x08\n\n\x0c\n\x04\x05\x06\x02\x03\
4904-
\x12\x04\x8d\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x03\x01\x12\x04\x8d\x05\
4905-
\x02\x05\n\r\n\x05\x05\x06\x02\x03\x02\x12\x04\x8d\x05\x08\n\n\x0c\n\x04\
4906-
\x05\x06\x02\x04\x12\x04\x8e\x05\x02\x0c\n\r\n\x05\x05\x06\x02\x04\x01\
4907-
\x12\x04\x8e\x05\x02\x06\n\r\n\x05\x05\x06\x02\x04\x02\x12\x04\x8e\x05\t\
4908-
\x0b\n\x0c\n\x04\x05\x06\x02\x05\x12\x04\x8f\x05\x02\x10\n\r\n\x05\x05\
4909-
\x06\x02\x05\x01\x12\x04\x8f\x05\x02\n\n\r\n\x05\x05\x06\x02\x05\x02\x12\
4910-
\x04\x8f\x05\r\x0f\n\x0c\n\x04\x05\x06\x02\x06\x12\x04\x90\x05\x02\x10\n\
4911-
\r\n\x05\x05\x06\x02\x06\x01\x12\x04\x90\x05\x02\n\n\r\n\x05\x05\x06\x02\
4912-
\x06\x02\x12\x04\x90\x05\r\x0f\n\x0c\n\x04\x05\x06\x02\x07\x12\x04\x91\
4913-
\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x07\x01\x12\x04\x91\x05\x02\x05\n\r\n\
4914-
\x05\x05\x06\x02\x07\x02\x12\x04\x91\x05\x08\n\n\x0c\n\x04\x05\x06\x02\
4915-
\x08\x12\x04\x92\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x08\x01\x12\x04\x92\
4916-
\x05\x02\x05\n\r\n\x05\x05\x06\x02\x08\x02\x12\x04\x92\x05\x08\n\n\x0c\n\
4917-
\x04\x05\x06\x02\t\x12\x04\x93\x05\x02\x0e\n\r\n\x05\x05\x06\x02\t\x01\
4918-
\x12\x04\x93\x05\x02\x08\n\r\n\x05\x05\x06\x02\t\x02\x12\x04\x93\x05\x0b\
4919-
\r\n\x0c\n\x04\x05\x06\x02\n\x12\x04\x94\x05\x02\t\n\r\n\x05\x05\x06\x02\
4920-
\n\x01\x12\x04\x94\x05\x02\x03\n\r\n\x05\x05\x06\x02\n\x02\x12\x04\x94\
4921-
\x05\x06\x08\n\x0c\n\x04\x05\x06\x02\x0b\x12\x04\x95\x05\x02\r\n\r\n\x05\
4922-
\x05\x06\x02\x0b\x01\x12\x04\x95\x05\x02\x07\n\r\n\x05\x05\x06\x02\x0b\
4923-
\x02\x12\x04\x95\x05\n\x0c\nH\n\x04\x05\x06\x02\x0c\x12\x04\x96\x05\x02\
4924-
\x0b\":\x20C++\x20(the\x20name\x20\"CPP\"\x20was\x20chosen\x20for\x20con\
4925-
sistency\x20with\x20LSP)\n\n\r\n\x05\x05\x06\x02\x0c\x01\x12\x04\x96\x05\
4926-
\x02\x05\n\r\n\x05\x05\x06\x02\x0c\x02\x12\x04\x96\x05\x08\n\n\x0c\n\x04\
4927-
\x05\x06\x02\r\x12\x04\x97\x05\x02\x0b\n\r\n\x05\x05\x06\x02\r\x01\x12\
4928-
\x04\x97\x05\x02\x05\n\r\n\x05\x05\x06\x02\r\x02\x12\x04\x97\x05\x08\n\n\
4929-
\x0c\n\x04\x05\x06\x02\x0e\x12\x04\x98\x05\x02\r\n\r\n\x05\x05\x06\x02\
4930-
\x0e\x01\x12\x04\x98\x05\x02\x08\n\r\n\x05\x05\x06\x02\x0e\x02\x12\x04\
4931-
\x98\x05\x0b\x0c\n\x0c\n\x04\x05\x06\x02\x0f\x12\x04\x99\x05\x02\x0e\n\r\
4932-
\n\x05\x05\x06\x02\x0f\x01\x12\x04\x99\x05\x02\t\n\r\n\x05\x05\x06\x02\
4933-
\x0f\x02\x12\x04\x99\x05\x0c\r\n\x0c\n\x04\x05\x06\x02\x10\x12\x04\x9a\
4934-
\x05\x02\x14\n\r\n\x05\x05\x06\x02\x10\x01\x12\x04\x9a\x05\x02\x0e\n\r\n\
4935-
\x05\x05\x06\x02\x10\x02\x12\x04\x9a\x05\x11\x13\n\x0c\n\x04\x05\x06\x02\
4936-
\x11\x12\x04\x9b\x05\x02\x11\n\r\n\x05\x05\x06\x02\x11\x01\x12\x04\x9b\
4937-
\x05\x02\x0c\n\r\n\x05\x05\x06\x02\x11\x02\x12\x04\x9b\x05\x0f\x10\n\x0c\
4938-
\n\x04\x05\x06\x02\x12\x12\x04\x9c\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x12\
4893+
\x20the\x20name\n\x20\"CPP\"\x20in\x20this\x20enum\x20and\x20other\x20na\
4894+
mes\x20such\x20as\x20\"cpp\"\x20are\x20incompatible.\n\x20Feel\x20free\
4895+
\x20to\x20send\x20a\x20pull-request\x20to\x20add\x20missing\x20programmi\
4896+
ng\x20languages.\n\n\x0b\n\x03\x05\x06\x01\x12\x04\x89\x05\x05\r\n\x0c\n\
4897+
\x04\x05\x06\x02\0\x12\x04\x8a\x05\x02\x1a\n\r\n\x05\x05\x06\x02\0\x01\
4898+
\x12\x04\x8a\x05\x02\x15\n\r\n\x05\x05\x06\x02\0\x02\x12\x04\x8a\x05\x18\
4899+
\x19\n\x0c\n\x04\x05\x06\x02\x01\x12\x04\x8b\x05\x02\x0c\n\r\n\x05\x05\
4900+
\x06\x02\x01\x01\x12\x04\x8b\x05\x02\x06\n\r\n\x05\x05\x06\x02\x01\x02\
4901+
\x12\x04\x8b\x05\t\x0b\n\x0c\n\x04\x05\x06\x02\x02\x12\x04\x8c\x05\x02\
4902+
\x0b\n\r\n\x05\x05\x06\x02\x02\x01\x12\x04\x8c\x05\x02\x05\n\r\n\x05\x05\
4903+
\x06\x02\x02\x02\x12\x04\x8c\x05\x08\n\n\x0c\n\x04\x05\x06\x02\x03\x12\
4904+
\x04\x8d\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x03\x01\x12\x04\x8d\x05\x02\
4905+
\x05\n\r\n\x05\x05\x06\x02\x03\x02\x12\x04\x8d\x05\x08\n\n\x0c\n\x04\x05\
4906+
\x06\x02\x04\x12\x04\x8e\x05\x02\x0c\n\r\n\x05\x05\x06\x02\x04\x01\x12\
4907+
\x04\x8e\x05\x02\x06\n\r\n\x05\x05\x06\x02\x04\x02\x12\x04\x8e\x05\t\x0b\
4908+
\n\x0c\n\x04\x05\x06\x02\x05\x12\x04\x8f\x05\x02\x10\n\r\n\x05\x05\x06\
4909+
\x02\x05\x01\x12\x04\x8f\x05\x02\n\n\r\n\x05\x05\x06\x02\x05\x02\x12\x04\
4910+
\x8f\x05\r\x0f\n\x0c\n\x04\x05\x06\x02\x06\x12\x04\x90\x05\x02\x10\n\r\n\
4911+
\x05\x05\x06\x02\x06\x01\x12\x04\x90\x05\x02\n\n\r\n\x05\x05\x06\x02\x06\
4912+
\x02\x12\x04\x90\x05\r\x0f\n\x0c\n\x04\x05\x06\x02\x07\x12\x04\x91\x05\
4913+
\x02\x0b\n\r\n\x05\x05\x06\x02\x07\x01\x12\x04\x91\x05\x02\x05\n\r\n\x05\
4914+
\x05\x06\x02\x07\x02\x12\x04\x91\x05\x08\n\n\x0c\n\x04\x05\x06\x02\x08\
4915+
\x12\x04\x92\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x08\x01\x12\x04\x92\x05\
4916+
\x02\x05\n\r\n\x05\x05\x06\x02\x08\x02\x12\x04\x92\x05\x08\n\n\x0c\n\x04\
4917+
\x05\x06\x02\t\x12\x04\x93\x05\x02\x0e\n\r\n\x05\x05\x06\x02\t\x01\x12\
4918+
\x04\x93\x05\x02\x08\n\r\n\x05\x05\x06\x02\t\x02\x12\x04\x93\x05\x0b\r\n\
4919+
\x0c\n\x04\x05\x06\x02\n\x12\x04\x94\x05\x02\t\n\r\n\x05\x05\x06\x02\n\
4920+
\x01\x12\x04\x94\x05\x02\x03\n\r\n\x05\x05\x06\x02\n\x02\x12\x04\x94\x05\
4921+
\x06\x08\n\x0c\n\x04\x05\x06\x02\x0b\x12\x04\x95\x05\x02\r\n\r\n\x05\x05\
4922+
\x06\x02\x0b\x01\x12\x04\x95\x05\x02\x07\n\r\n\x05\x05\x06\x02\x0b\x02\
4923+
\x12\x04\x95\x05\n\x0c\nH\n\x04\x05\x06\x02\x0c\x12\x04\x96\x05\x02\x0b\
4924+
\":\x20C++\x20(the\x20name\x20\"CPP\"\x20was\x20chosen\x20for\x20consist\
4925+
ency\x20with\x20LSP)\n\n\r\n\x05\x05\x06\x02\x0c\x01\x12\x04\x96\x05\x02\
4926+
\x05\n\r\n\x05\x05\x06\x02\x0c\x02\x12\x04\x96\x05\x08\n\n\x0c\n\x04\x05\
4927+
\x06\x02\r\x12\x04\x97\x05\x02\x0b\n\r\n\x05\x05\x06\x02\r\x01\x12\x04\
4928+
\x97\x05\x02\x05\n\r\n\x05\x05\x06\x02\r\x02\x12\x04\x97\x05\x08\n\n\x0c\
4929+
\n\x04\x05\x06\x02\x0e\x12\x04\x98\x05\x02\r\n\r\n\x05\x05\x06\x02\x0e\
4930+
\x01\x12\x04\x98\x05\x02\x08\n\r\n\x05\x05\x06\x02\x0e\x02\x12\x04\x98\
4931+
\x05\x0b\x0c\n\x0c\n\x04\x05\x06\x02\x0f\x12\x04\x99\x05\x02\x0e\n\r\n\
4932+
\x05\x05\x06\x02\x0f\x01\x12\x04\x99\x05\x02\t\n\r\n\x05\x05\x06\x02\x0f\
4933+
\x02\x12\x04\x99\x05\x0c\r\n\x0c\n\x04\x05\x06\x02\x10\x12\x04\x9a\x05\
4934+
\x02\x14\n\r\n\x05\x05\x06\x02\x10\x01\x12\x04\x9a\x05\x02\x0e\n\r\n\x05\
4935+
\x05\x06\x02\x10\x02\x12\x04\x9a\x05\x11\x13\n\x0c\n\x04\x05\x06\x02\x11\
4936+
\x12\x04\x9b\x05\x02\x11\n\r\n\x05\x05\x06\x02\x11\x01\x12\x04\x9b\x05\
4937+
\x02\x0c\n\r\n\x05\x05\x06\x02\x11\x02\x12\x04\x9b\x05\x0f\x10\n\x0c\n\
4938+
\x04\x05\x06\x02\x12\x12\x04\x9c\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x12\
49394939
\x01\x12\x04\x9c\x05\x02\x05\n\r\n\x05\x05\x06\x02\x12\x02\x12\x04\x9c\
49404940
\x05\x08\n\n\x0c\n\x04\x05\x06\x02\x13\x12\x04\x9d\x05\x02\x0b\n\r\n\x05\
49414941
\x05\x06\x02\x13\x01\x12\x04\x9d\x05\x02\x06\n\r\n\x05\x05\x06\x02\x13\

Diff for: docs/scip.md

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: scip.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ message ToolInfo {
7272
message Document {
7373
// The string ID for the programming language this file is written in.
7474
// The `Language` enum contains the names of most common programming languages.
75-
// This field is typed as a string to permit any programming langauge, including
75+
// This field is typed as a string to permit any programming language, including
7676
// ones that are not specified by the `Language` enum.
7777
string language = 4;
7878
// (Required) Unique path to the text document.
@@ -645,7 +645,7 @@ enum DiagnosticTag {
645645
// for the `Document.language` field. The primary purpose of this enum is to
646646
// prevent a situation where we have a single programming language ends up with
647647
// multiple string representations. For example, the C++ language uses the name
648-
// "CPlusPlus" in this enum and other names such as "cpp" are incompatible.
648+
// "CPP" in this enum and other names such as "cpp" are incompatible.
649649
// Feel free to send a pull-request to add missing programming languages.
650650
enum Language {
651651
UnspecifiedLanguage = 0;

0 commit comments

Comments
 (0)