Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to Make lexer #1285

Merged
merged 13 commits into from
Jul 30, 2019
Merged
Prev Previous commit
Next Next commit
[make] add one more filename extension
This one is typically used for RISC OS makefiles. The comma is not a typo.
  • Loading branch information
bavison committed Jul 29, 2019
commit 922f260d794b5facb9df0ff3a803e25d5a71b67b
2 changes: 1 addition & 1 deletion lib/rouge/lexers/make.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Make < RegexLexer
desc "Makefile syntax"
tag 'make'
aliases 'makefile', 'mf', 'gnumake', 'bsdmake'
filenames '*.make', '*.mak', '*.mk', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile'
filenames '*.make', '*.mak', '*.mk', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile', '*,fe1'
pyrmont marked this conversation as resolved.
Show resolved Hide resolved
mimetypes 'text/x-makefile'

def self.functions
Expand Down