File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Contributor Documentation
Sources/LanguageServerProtocol/SupportTypes Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -622,3 +622,10 @@ export interface GetReferenceDocumentResult {
622
622
content: string ;
623
623
}
624
624
` ` `
625
+
626
+ ## Languages
627
+
628
+ Added a new language with the identifier ` tutorial ` to support the ` * .tutorial ` files that
629
+ Swift DocC uses to define tutorials and tutorial overviews in its documentation catalogs.
630
+ It is expected that editors send document events for ` tutorial ` and ` markdown ` files if
631
+ they wish to request information about these files from SourceKit-LSP.
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ public extension Language {
154
154
static let shellScript = Language ( rawValue: " shellscript " ) // Shell Script (Bash)
155
155
static let sql = Language ( rawValue: " sql " )
156
156
static let swift = Language ( rawValue: " swift " )
157
- static let tutorial = Language ( rawValue: " tutorial " )
157
+ static let tutorial = Language ( rawValue: " tutorial " ) // LSP Extension: Swift DocC Tutorial
158
158
static let typeScript = Language ( rawValue: " typescript " )
159
159
static let typeScriptReact = Language ( rawValue: " typescriptreact " ) // TypeScript React
160
160
static let tex = Language ( rawValue: " tex " )
You can’t perform that action at this time.
0 commit comments