lib/rouge/lexers/fsharp.rb in rouge-3.2.1 vs lib/rouge/lexers/fsharp.rb in rouge-3.3.0
- old
+ new
@@ -1,13 +1,14 @@
# -*- coding: utf-8 -*- #
+# frozen_string_literal: true
module Rouge
module Lexers
class FSharp < RegexLexer
title "FSharp"
desc 'F# (fsharp.net)'
tag 'fsharp'
- filenames '*.fs', '*.fsx'
+ filenames '*.fs', '*.fsi', '*.fsx'
mimetypes 'application/fsharp-script', 'text/x-fsharp', 'text/x-fsi'
def self.keywords
@keywords ||= Set.new %w(
abstract and as assert base begin class default delegate do