correct highlighting for bash config files

pull/282/head
nightwing 2016-03-24 21:37:33 +00:00
rodzic 57b9d2cfa8
commit 65fd1b7c47
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1444,7 +1444,7 @@ define(function(require, exports, module) {
else if (/^{/.test(firstLine)) {
syntax = "json";
}
else if (/\.(bashrc|inputrc)$/.test(path)) {
else if (/\.(bash|inputrc|profile|zsh)/.test(path)) {
syntax = "sh";
}
else if (/\.(git(attributes|config|ignore)|npmrc)$/.test(path)) {