Skip to content

Commit

Permalink
(enh) Add F# as alias for F# (#3337)
Browse files Browse the repository at this point in the history
* Add F# as alias for F#

Added F# as alias for F#. More consistent with C#.
  • Loading branch information
Bahnschrift committed Sep 19, 2021
1 parent e076acc commit f8b4434
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Expand Up @@ -22,13 +22,15 @@ Grammars:
- enh(scala) add Scala 3 `end` soft keyword (#3327) [Nicolas Stucki][]
- enh(scala) add `inline` soft keyword (#3329) [Nicolas Stucki][]
- enh(scala) add `using` soft keyword (#3330) [Nicolas Stucki][]
- enh(fsharp) added `f#` alias (#3337) [Bahnschrift][]

[Austin Schick]: https://github.com/austin-schick
[Josh Goebel]: https://github.com/joshgoebel
[Denis Kovalchuk]: https://github.com/deniskovalchuk
[monochromer]: https://github.com/monochromer
[Teletha]: https://github.com/teletha
[Nicolas Stucki]: https://github.com/nicolasstucki
[Bahnschrift]: https://github.com/Bahnschrift


## Version 11.2.0
Expand Down
5 changes: 4 additions & 1 deletion src/languages/fsharp.js
Expand Up @@ -86,7 +86,10 @@ export default function(hljs) {

return {
name: 'F#',
aliases: ['fs'],
aliases: [
'fs',
'f#'
],
keywords: KEYWORDS,
illegal: /\/\*/,
contains: [
Expand Down

0 comments on commit f8b4434

Please sign in to comment.