@@ -23,12 +23,6 @@ import { json } from '@codemirror/lang-json'
2323import { javascript } from '@codemirror/lang-javascript'
2424import { html } from '@codemirror/lang-html'
2525import { css } from '@codemirror/lang-css'
26- import { python } from '@codemirror/lang-python'
27- import { wast } from '@codemirror/lang-wast'
28- import { rust } from '@codemirror/lang-rust'
29- import { xml } from '@codemirror/lang-xml'
30- import { php } from '@codemirror/lang-php'
31- import { MariaSQL , Cassandra , MySQL , PostgreSQL , MSSQL , StandardSQL , sql } from '@codemirror/lang-sql'
3226import { markdown , markdownLanguage } from '@codemirror/lang-markdown'
3327import { languages } from '@codemirror/language-data'
3428import { lezer } from '@codemirror/lang-lezer'
@@ -105,11 +99,6 @@ export const getHighlight = (lang: string | undefined): Extension | undefined =>
10599 case 'twig' :
106100 case 'html' :
107101 return html ( )
108- case 'rss' :
109- case 'wsl' :
110- case 'xsd' :
111- case 'xml' :
112- return xml ( )
113102 case 'bash' :
114103 case 'sh' :
115104 case 'zsh' :
@@ -132,32 +121,6 @@ export const getHighlight = (lang: string | undefined): Extension | undefined =>
132121 return StreamLanguage . define ( yaml )
133122 case 'css' :
134123 return css ( )
135- case 'python' :
136- return python ( )
137- case 'wast' :
138- return wast ( )
139- case 'rust' :
140- return rust ( )
141- case 'injectablephp' :
142- case 'php' :
143- return php ( )
144- case 'mysql' :
145- return sql ( { dialect : MySQL } )
146- case 'ms sql' :
147- case 'mssql' :
148- return sql ( { dialect : MSSQL } )
149- case 'mariasql' :
150- return sql ( { dialect : MariaSQL } )
151- case 'postgresql' :
152- return sql ( { dialect : PostgreSQL } )
153- case 'cassandra' :
154- case 'cql' :
155- return sql ( { dialect : Cassandra } )
156- case 'bigquery' :
157- case 'standardsql' :
158- return sql ( { dialect : StandardSQL } )
159- case 'sql' :
160- return sql ( )
161124 case 'md' :
162125 case 'markdown' :
163126 return mdLang
0 commit comments