Syntax.in: fix pattern for Ruby program.

This commit is contained in:
Andrew Borodin 2017-12-18 11:01:35 +03:00
parent 312b316577
commit 4fcc19b581
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ include python.syntax
file ..\*\\.(pyx|pxd|pxi)$ Cython\sor\sPyrex\sProgram
include cython.syntax
file ..\*\\.(?:rb)$ Ruby\sProgram ^#!.\*([\s/]ruby|@RUBY@)
file ..\*\\.(?i:rb)$ Ruby\sProgram ^#!.\*([\s/]ruby|@RUBY@)
include ruby.syntax
file ..\*\\.(man|[0-9n]|[0-9](x|ncurses|ssl|p|pm|menu|form|vga|t|td))$ NROFF\sSource