diff options
-rw-r--r-- | src/Styles.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Styles.c b/src/Styles.c index d9ffb4c..b196e6d 100644 --- a/src/Styles.c +++ b/src/Styles.c @@ -2764,6 +2764,12 @@ void Style_SetLexerFromFile(HWND hwnd,LPCWSTR lpszFile) }
if (!bFound && bAutoSelect &&
+ lstrcmpi(PathFindFileName(lpszFile),L"rakefile") == 0) {
+ pLexNew = &lexRUBY;
+ bFound = TRUE;
+ }
+
+ if (!bFound && bAutoSelect &&
lstrcmpi(PathFindFileName(lpszFile),L"mozconfig") == 0) {
pLexNew = &lexBASH;
bFound = TRUE;
|