Skip to content

Commit

Permalink
fix: Typos in schema docs (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
varungandhi-src authored Jul 31, 2023
1 parent 476e877 commit 6400b04
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 63 deletions.
4 changes: 2 additions & 2 deletions bindings/go/scip/scip.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions bindings/haskell/src/Proto/Scip.hs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 52 additions & 52 deletions bindings/rust/src/generated/scip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ pub struct Document {
// message fields
/// The string ID for the programming language this file is written in.
/// The `Language` enum contains the names of most common programming languages.
/// This field is typed as a string to permit any programming langauge, including
/// This field is typed as a string to permit any programming language, including
/// ones that are not specified by the `Language` enum.
// @@protoc_insertion_point(field:scip.Document.language)
pub language: ::std::string::String,
Expand Down Expand Up @@ -3305,7 +3305,7 @@ impl DiagnosticTag {
/// for the `Document.language` field. The primary purpose of this enum is to
/// prevent a situation where we have a single programming language ends up with
/// multiple string representations. For example, the C++ language uses the name
/// "CPlusPlus" in this enum and other names such as "cpp" are incompatible.
/// "CPP" in this enum and other names such as "cpp" are incompatible.
/// Feel free to send a pull-request to add missing programming languages.
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
// @@protoc_insertion_point(enum:scip.Language)
Expand Down Expand Up @@ -3966,7 +3966,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x0fTypeScriptReact\x10^\x12\x0f\n\x0bVisualBasic\x10?\x12\x07\n\x03Vue\
\x10\x19\x12\x0b\n\x07Wolfram\x105\x12\x07\n\x03XML\x10\x1f\x12\x07\n\
\x03XSL\x10\x20\x12\x08\n\x04YAML\x10J\x12\x07\n\x03Zig\x10&B/Z-github.c\
om/sourcegraph/scip/bindings/go/scip/J\xf7\x8c\x02\n\x07\x12\x05\n\0\xef\
om/sourcegraph/scip/bindings/go/scip/J\xf1\x8c\x02\n\x07\x12\x05\n\0\xef\
\x05\x01\n\x82\x04\n\x01\x0c\x12\x03\n\0\x122\xf7\x03\x20An\x20index\x20\
contains\x20one\x20or\x20more\x20pieces\x20of\x20information\x20about\
\x20a\x20given\x20piece\x20of\n\x20source\x20code\x20or\x20software\x20a\
Expand Down Expand Up @@ -4061,7 +4061,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
e\x20is\x20written\x20in.\n\x20The\x20`Language`\x20enum\x20contains\x20\
the\x20names\x20of\x20most\x20common\x20programming\x20languages.\n\x20T\
his\x20field\x20is\x20typed\x20as\x20a\x20string\x20to\x20permit\x20any\
\x20programming\x20langauge,\x20including\n\x20ones\x20that\x20are\x20no\
\x20programming\x20language,\x20including\n\x20ones\x20that\x20are\x20no\
t\x20specified\x20by\x20the\x20`Language`\x20enum.\n\n\x0c\n\x05\x04\x03\
\x02\0\x05\x12\x03L\x02\x08\n\x0c\n\x05\x04\x03\x02\0\x01\x12\x03L\t\x11\
\n\x0c\n\x05\x04\x03\x02\0\x03\x12\x03L\x14\x15\n\xb5\x03\n\x04\x04\x03\
Expand Down Expand Up @@ -4882,60 +4882,60 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x04\x02\x12\n\r\n\x05\x05\x05\x02\x01\x01\x12\x04\xff\x04\x02\r\n\r\n\
\x05\x05\x05\x02\x01\x02\x12\x04\xff\x04\x10\x11\n\x0c\n\x04\x05\x05\x02\
\x02\x12\x04\x80\x05\x02\x11\n\r\n\x05\x05\x05\x02\x02\x01\x12\x04\x80\
\x05\x02\x0c\n\r\n\x05\x05\x05\x02\x02\x02\x12\x04\x80\x05\x0f\x10\n\xd6\
\x03\n\x02\x05\x06\x12\x06\x89\x05\0\xef\x05\x01\x1a\xc7\x03\x20Language\
\x05\x02\x0c\n\r\n\x05\x05\x05\x02\x02\x02\x12\x04\x80\x05\x0f\x10\n\xd0\
\x03\n\x02\x05\x06\x12\x06\x89\x05\0\xef\x05\x01\x1a\xc1\x03\x20Language\
\x20standardises\x20names\x20of\x20common\x20programming\x20languages\
\x20that\x20can\x20be\x20used\n\x20for\x20the\x20`Document.language`\x20\
field.\x20The\x20primary\x20purpose\x20of\x20this\x20enum\x20is\x20to\n\
\x20prevent\x20a\x20situation\x20where\x20we\x20have\x20a\x20single\x20p\
rogramming\x20language\x20ends\x20up\x20with\n\x20multiple\x20string\x20\
representations.\x20For\x20example,\x20the\x20C++\x20language\x20uses\
\x20the\x20name\n\x20\"CPlusPlus\"\x20in\x20this\x20enum\x20and\x20other\
\x20names\x20such\x20as\x20\"cpp\"\x20are\x20incompatible.\n\x20Feel\x20\
free\x20to\x20send\x20a\x20pull-request\x20to\x20add\x20missing\x20progr\
amming\x20languages.\n\n\x0b\n\x03\x05\x06\x01\x12\x04\x89\x05\x05\r\n\
\x0c\n\x04\x05\x06\x02\0\x12\x04\x8a\x05\x02\x1a\n\r\n\x05\x05\x06\x02\0\
\x01\x12\x04\x8a\x05\x02\x15\n\r\n\x05\x05\x06\x02\0\x02\x12\x04\x8a\x05\
\x18\x19\n\x0c\n\x04\x05\x06\x02\x01\x12\x04\x8b\x05\x02\x0c\n\r\n\x05\
\x05\x06\x02\x01\x01\x12\x04\x8b\x05\x02\x06\n\r\n\x05\x05\x06\x02\x01\
\x02\x12\x04\x8b\x05\t\x0b\n\x0c\n\x04\x05\x06\x02\x02\x12\x04\x8c\x05\
\x02\x0b\n\r\n\x05\x05\x06\x02\x02\x01\x12\x04\x8c\x05\x02\x05\n\r\n\x05\
\x05\x06\x02\x02\x02\x12\x04\x8c\x05\x08\n\n\x0c\n\x04\x05\x06\x02\x03\
\x12\x04\x8d\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x03\x01\x12\x04\x8d\x05\
\x02\x05\n\r\n\x05\x05\x06\x02\x03\x02\x12\x04\x8d\x05\x08\n\n\x0c\n\x04\
\x05\x06\x02\x04\x12\x04\x8e\x05\x02\x0c\n\r\n\x05\x05\x06\x02\x04\x01\
\x12\x04\x8e\x05\x02\x06\n\r\n\x05\x05\x06\x02\x04\x02\x12\x04\x8e\x05\t\
\x0b\n\x0c\n\x04\x05\x06\x02\x05\x12\x04\x8f\x05\x02\x10\n\r\n\x05\x05\
\x06\x02\x05\x01\x12\x04\x8f\x05\x02\n\n\r\n\x05\x05\x06\x02\x05\x02\x12\
\x04\x8f\x05\r\x0f\n\x0c\n\x04\x05\x06\x02\x06\x12\x04\x90\x05\x02\x10\n\
\r\n\x05\x05\x06\x02\x06\x01\x12\x04\x90\x05\x02\n\n\r\n\x05\x05\x06\x02\
\x06\x02\x12\x04\x90\x05\r\x0f\n\x0c\n\x04\x05\x06\x02\x07\x12\x04\x91\
\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x07\x01\x12\x04\x91\x05\x02\x05\n\r\n\
\x05\x05\x06\x02\x07\x02\x12\x04\x91\x05\x08\n\n\x0c\n\x04\x05\x06\x02\
\x08\x12\x04\x92\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x08\x01\x12\x04\x92\
\x05\x02\x05\n\r\n\x05\x05\x06\x02\x08\x02\x12\x04\x92\x05\x08\n\n\x0c\n\
\x04\x05\x06\x02\t\x12\x04\x93\x05\x02\x0e\n\r\n\x05\x05\x06\x02\t\x01\
\x12\x04\x93\x05\x02\x08\n\r\n\x05\x05\x06\x02\t\x02\x12\x04\x93\x05\x0b\
\r\n\x0c\n\x04\x05\x06\x02\n\x12\x04\x94\x05\x02\t\n\r\n\x05\x05\x06\x02\
\n\x01\x12\x04\x94\x05\x02\x03\n\r\n\x05\x05\x06\x02\n\x02\x12\x04\x94\
\x05\x06\x08\n\x0c\n\x04\x05\x06\x02\x0b\x12\x04\x95\x05\x02\r\n\r\n\x05\
\x05\x06\x02\x0b\x01\x12\x04\x95\x05\x02\x07\n\r\n\x05\x05\x06\x02\x0b\
\x02\x12\x04\x95\x05\n\x0c\nH\n\x04\x05\x06\x02\x0c\x12\x04\x96\x05\x02\
\x0b\":\x20C++\x20(the\x20name\x20\"CPP\"\x20was\x20chosen\x20for\x20con\
sistency\x20with\x20LSP)\n\n\r\n\x05\x05\x06\x02\x0c\x01\x12\x04\x96\x05\
\x02\x05\n\r\n\x05\x05\x06\x02\x0c\x02\x12\x04\x96\x05\x08\n\n\x0c\n\x04\
\x05\x06\x02\r\x12\x04\x97\x05\x02\x0b\n\r\n\x05\x05\x06\x02\r\x01\x12\
\x04\x97\x05\x02\x05\n\r\n\x05\x05\x06\x02\r\x02\x12\x04\x97\x05\x08\n\n\
\x0c\n\x04\x05\x06\x02\x0e\x12\x04\x98\x05\x02\r\n\r\n\x05\x05\x06\x02\
\x0e\x01\x12\x04\x98\x05\x02\x08\n\r\n\x05\x05\x06\x02\x0e\x02\x12\x04\
\x98\x05\x0b\x0c\n\x0c\n\x04\x05\x06\x02\x0f\x12\x04\x99\x05\x02\x0e\n\r\
\n\x05\x05\x06\x02\x0f\x01\x12\x04\x99\x05\x02\t\n\r\n\x05\x05\x06\x02\
\x0f\x02\x12\x04\x99\x05\x0c\r\n\x0c\n\x04\x05\x06\x02\x10\x12\x04\x9a\
\x05\x02\x14\n\r\n\x05\x05\x06\x02\x10\x01\x12\x04\x9a\x05\x02\x0e\n\r\n\
\x05\x05\x06\x02\x10\x02\x12\x04\x9a\x05\x11\x13\n\x0c\n\x04\x05\x06\x02\
\x11\x12\x04\x9b\x05\x02\x11\n\r\n\x05\x05\x06\x02\x11\x01\x12\x04\x9b\
\x05\x02\x0c\n\r\n\x05\x05\x06\x02\x11\x02\x12\x04\x9b\x05\x0f\x10\n\x0c\
\n\x04\x05\x06\x02\x12\x12\x04\x9c\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x12\
\x20the\x20name\n\x20\"CPP\"\x20in\x20this\x20enum\x20and\x20other\x20na\
mes\x20such\x20as\x20\"cpp\"\x20are\x20incompatible.\n\x20Feel\x20free\
\x20to\x20send\x20a\x20pull-request\x20to\x20add\x20missing\x20programmi\
ng\x20languages.\n\n\x0b\n\x03\x05\x06\x01\x12\x04\x89\x05\x05\r\n\x0c\n\
\x04\x05\x06\x02\0\x12\x04\x8a\x05\x02\x1a\n\r\n\x05\x05\x06\x02\0\x01\
\x12\x04\x8a\x05\x02\x15\n\r\n\x05\x05\x06\x02\0\x02\x12\x04\x8a\x05\x18\
\x19\n\x0c\n\x04\x05\x06\x02\x01\x12\x04\x8b\x05\x02\x0c\n\r\n\x05\x05\
\x06\x02\x01\x01\x12\x04\x8b\x05\x02\x06\n\r\n\x05\x05\x06\x02\x01\x02\
\x12\x04\x8b\x05\t\x0b\n\x0c\n\x04\x05\x06\x02\x02\x12\x04\x8c\x05\x02\
\x0b\n\r\n\x05\x05\x06\x02\x02\x01\x12\x04\x8c\x05\x02\x05\n\r\n\x05\x05\
\x06\x02\x02\x02\x12\x04\x8c\x05\x08\n\n\x0c\n\x04\x05\x06\x02\x03\x12\
\x04\x8d\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x03\x01\x12\x04\x8d\x05\x02\
\x05\n\r\n\x05\x05\x06\x02\x03\x02\x12\x04\x8d\x05\x08\n\n\x0c\n\x04\x05\
\x06\x02\x04\x12\x04\x8e\x05\x02\x0c\n\r\n\x05\x05\x06\x02\x04\x01\x12\
\x04\x8e\x05\x02\x06\n\r\n\x05\x05\x06\x02\x04\x02\x12\x04\x8e\x05\t\x0b\
\n\x0c\n\x04\x05\x06\x02\x05\x12\x04\x8f\x05\x02\x10\n\r\n\x05\x05\x06\
\x02\x05\x01\x12\x04\x8f\x05\x02\n\n\r\n\x05\x05\x06\x02\x05\x02\x12\x04\
\x8f\x05\r\x0f\n\x0c\n\x04\x05\x06\x02\x06\x12\x04\x90\x05\x02\x10\n\r\n\
\x05\x05\x06\x02\x06\x01\x12\x04\x90\x05\x02\n\n\r\n\x05\x05\x06\x02\x06\
\x02\x12\x04\x90\x05\r\x0f\n\x0c\n\x04\x05\x06\x02\x07\x12\x04\x91\x05\
\x02\x0b\n\r\n\x05\x05\x06\x02\x07\x01\x12\x04\x91\x05\x02\x05\n\r\n\x05\
\x05\x06\x02\x07\x02\x12\x04\x91\x05\x08\n\n\x0c\n\x04\x05\x06\x02\x08\
\x12\x04\x92\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x08\x01\x12\x04\x92\x05\
\x02\x05\n\r\n\x05\x05\x06\x02\x08\x02\x12\x04\x92\x05\x08\n\n\x0c\n\x04\
\x05\x06\x02\t\x12\x04\x93\x05\x02\x0e\n\r\n\x05\x05\x06\x02\t\x01\x12\
\x04\x93\x05\x02\x08\n\r\n\x05\x05\x06\x02\t\x02\x12\x04\x93\x05\x0b\r\n\
\x0c\n\x04\x05\x06\x02\n\x12\x04\x94\x05\x02\t\n\r\n\x05\x05\x06\x02\n\
\x01\x12\x04\x94\x05\x02\x03\n\r\n\x05\x05\x06\x02\n\x02\x12\x04\x94\x05\
\x06\x08\n\x0c\n\x04\x05\x06\x02\x0b\x12\x04\x95\x05\x02\r\n\r\n\x05\x05\
\x06\x02\x0b\x01\x12\x04\x95\x05\x02\x07\n\r\n\x05\x05\x06\x02\x0b\x02\
\x12\x04\x95\x05\n\x0c\nH\n\x04\x05\x06\x02\x0c\x12\x04\x96\x05\x02\x0b\
\":\x20C++\x20(the\x20name\x20\"CPP\"\x20was\x20chosen\x20for\x20consist\
ency\x20with\x20LSP)\n\n\r\n\x05\x05\x06\x02\x0c\x01\x12\x04\x96\x05\x02\
\x05\n\r\n\x05\x05\x06\x02\x0c\x02\x12\x04\x96\x05\x08\n\n\x0c\n\x04\x05\
\x06\x02\r\x12\x04\x97\x05\x02\x0b\n\r\n\x05\x05\x06\x02\r\x01\x12\x04\
\x97\x05\x02\x05\n\r\n\x05\x05\x06\x02\r\x02\x12\x04\x97\x05\x08\n\n\x0c\
\n\x04\x05\x06\x02\x0e\x12\x04\x98\x05\x02\r\n\r\n\x05\x05\x06\x02\x0e\
\x01\x12\x04\x98\x05\x02\x08\n\r\n\x05\x05\x06\x02\x0e\x02\x12\x04\x98\
\x05\x0b\x0c\n\x0c\n\x04\x05\x06\x02\x0f\x12\x04\x99\x05\x02\x0e\n\r\n\
\x05\x05\x06\x02\x0f\x01\x12\x04\x99\x05\x02\t\n\r\n\x05\x05\x06\x02\x0f\
\x02\x12\x04\x99\x05\x0c\r\n\x0c\n\x04\x05\x06\x02\x10\x12\x04\x9a\x05\
\x02\x14\n\r\n\x05\x05\x06\x02\x10\x01\x12\x04\x9a\x05\x02\x0e\n\r\n\x05\
\x05\x06\x02\x10\x02\x12\x04\x9a\x05\x11\x13\n\x0c\n\x04\x05\x06\x02\x11\
\x12\x04\x9b\x05\x02\x11\n\r\n\x05\x05\x06\x02\x11\x01\x12\x04\x9b\x05\
\x02\x0c\n\r\n\x05\x05\x06\x02\x11\x02\x12\x04\x9b\x05\x0f\x10\n\x0c\n\
\x04\x05\x06\x02\x12\x12\x04\x9c\x05\x02\x0b\n\r\n\x05\x05\x06\x02\x12\
\x01\x12\x04\x9c\x05\x02\x05\n\r\n\x05\x05\x06\x02\x12\x02\x12\x04\x9c\
\x05\x08\n\n\x0c\n\x04\x05\x06\x02\x13\x12\x04\x9d\x05\x02\x0b\n\r\n\x05\
\x05\x06\x02\x13\x01\x12\x04\x9d\x05\x02\x06\n\r\n\x05\x05\x06\x02\x13\
Expand Down
4 changes: 2 additions & 2 deletions docs/scip.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scip.proto
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ message ToolInfo {
message Document {
// The string ID for the programming language this file is written in.
// The `Language` enum contains the names of most common programming languages.
// This field is typed as a string to permit any programming langauge, including
// This field is typed as a string to permit any programming language, including
// ones that are not specified by the `Language` enum.
string language = 4;
// (Required) Unique path to the text document.
Expand Down Expand Up @@ -645,7 +645,7 @@ enum DiagnosticTag {
// for the `Document.language` field. The primary purpose of this enum is to
// prevent a situation where we have a single programming language ends up with
// multiple string representations. For example, the C++ language uses the name
// "CPlusPlus" in this enum and other names such as "cpp" are incompatible.
// "CPP" in this enum and other names such as "cpp" are incompatible.
// Feel free to send a pull-request to add missing programming languages.
enum Language {
UnspecifiedLanguage = 0;
Expand Down

0 comments on commit 6400b04

Please sign in to comment.