Add separate language mode for F# (#1333)

Since highlight.js has better support for F#, let's opt into that.
The CodeMirror mode is still 'mllike', however.
main
Chet Husk 3 years ago committed by GitHub
parent 2b99eb7ce9
commit 85be5281c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -729,6 +729,13 @@ export const LANGUAGES = [
mode: 'erlang',
highlight: true,
},
{
name: 'F#',
mime: 'text/x-fsharp',
mode: 'mllike',
short: 'fsharp',
highlight: true,
},
{
name: 'Fortran',
mode: 'fortran',
@ -870,7 +877,7 @@ export const LANGUAGES = [
highlight: true,
},
{
name: 'OCaml/F#',
name: 'OCaml',
mode: 'mllike',
short: 'ocaml',
highlight: true,

Loading…
Cancel
Save