Open "crontab" file by using syntax highlighting of bash
Fix #3377, close #10943
This commit is contained in:
parent
30c586d94c
commit
a563a8b812
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue