mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Validate CodeMirror modes
This commit is contained in:
@@ -402,6 +402,9 @@ module Linguist
|
||||
|
||||
# Public: Get CodeMirror mode
|
||||
#
|
||||
# Maps to a directory in the `mode/` source code.
|
||||
# https://github.com/codemirror/CodeMirror/tree/master/mode
|
||||
#
|
||||
# Examples
|
||||
#
|
||||
# # => "nil"
|
||||
|
||||
@@ -1083,7 +1083,7 @@ Ecere Projects:
|
||||
- ".epj"
|
||||
tm_scope: source.json
|
||||
ace_mode: json
|
||||
codemirror_mode: json
|
||||
codemirror_mode: javascript
|
||||
codemirror_mime_mode: application/json
|
||||
language_id: 98
|
||||
Eiffel:
|
||||
@@ -1632,7 +1632,7 @@ HTML:
|
||||
type: markup
|
||||
tm_scope: text.html.basic
|
||||
ace_mode: html
|
||||
codemirror_mode: html
|
||||
codemirror_mode: htmlembedded
|
||||
codemirror_mime_mode: text/html
|
||||
color: "#e44b23"
|
||||
aliases:
|
||||
@@ -2118,7 +2118,7 @@ KiCad:
|
||||
Kit:
|
||||
type: markup
|
||||
ace_mode: html
|
||||
codemirror_mode: html
|
||||
codemirror_mode: htmlembedded
|
||||
codemirror_mime_mode: text/html
|
||||
extensions:
|
||||
- ".kit"
|
||||
@@ -2133,7 +2133,7 @@ Kotlin:
|
||||
- ".kts"
|
||||
tm_scope: source.Kotlin
|
||||
ace_mode: text
|
||||
codemirror_mode: kotlin
|
||||
codemirror_mode: clike
|
||||
codemirror_mime_mode: text/x-kotlin
|
||||
language_id: 189
|
||||
LFE:
|
||||
@@ -2419,7 +2419,7 @@ MTML:
|
||||
- ".mtml"
|
||||
tm_scope: text.html.basic
|
||||
ace_mode: html
|
||||
codemirror_mode: html
|
||||
codemirror_mode: htmlembedded
|
||||
codemirror_mime_mode: text/html
|
||||
language_id: 218
|
||||
MUF:
|
||||
@@ -4262,7 +4262,7 @@ TypeScript:
|
||||
- ".tsx"
|
||||
tm_scope: source.ts
|
||||
ace_mode: typescript
|
||||
codemirror_mode: typescript
|
||||
codemirror_mode: javascript
|
||||
codemirror_mime_mode: text/x-typescript
|
||||
language_id: 378
|
||||
Unified Parallel C:
|
||||
|
||||
Reference in New Issue
Block a user