Skip to content

Commit

Permalink
Simplify Make visual sample (#1227)
Browse files Browse the repository at this point in the history
The visual sample for Make was a large Makefile. This commit replaces it
with a simplified version to assist in future development.
  • Loading branch information
pyrmont authored Jul 9, 2019
1 parent 8e812be commit 786ca6f
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1,125 deletions.
7 changes: 4 additions & 3 deletions lib/rouge/lexers/make.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ class Make < RegexLexer
filenames '*.make', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile'
mimetypes 'text/x-makefile'

bsd_special = %w(
include undef error warning if else elif endif for endfor
)
# TODO: Add support for special keywords
# bsd_special = %w(
# include undef error warning if else elif endif for endfor
# )

def initialize(opts={})
super
Expand Down
Loading

0 comments on commit 786ca6f

Please sign in to comment.