diff --git a/PowerEditor/src/ScintillaComponent/Buffer.cpp b/PowerEditor/src/ScintillaComponent/Buffer.cpp index d8c11371f..339608dc9 100644 --- a/PowerEditor/src/ScintillaComponent/Buffer.cpp +++ b/PowerEditor/src/ScintillaComponent/Buffer.cpp @@ -222,6 +222,8 @@ void Buffer::setFileName(const TCHAR *fn, LangType defaultLang) newLang = L_PYTHON; else if ((OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("Rakefile")) == 0) || (OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("Vagrantfile")) == 0)) newLang = L_RUBY; + else if ((OrdinalIgnoreCaseCompareStrings(_fileName, TEXT("crontab")) == 0)) + newLang = L_BASH; } updateTimeStamp();