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 {
622622 content: string ;
623623}
624624` ` `
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 {
154154 static let shellScript = Language ( rawValue: " shellscript " ) // Shell Script (Bash)
155155 static let sql = Language ( rawValue: " sql " )
156156 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
158158 static let typeScript = Language ( rawValue: " typescript " )
159159 static let typeScriptReact = Language ( rawValue: " typescriptreact " ) // TypeScript React
160160 static let tex = Language ( rawValue: " tex " )
You can’t perform that action at this time.
0 commit comments