kopia lustrzana https://github.com/c9/core
correct highlighting for bash config files
rodzic
57b9d2cfa8
commit
65fd1b7c47
|
@ -1444,7 +1444,7 @@ define(function(require, exports, module) {
|
||||||
else if (/^{/.test(firstLine)) {
|
else if (/^{/.test(firstLine)) {
|
||||||
syntax = "json";
|
syntax = "json";
|
||||||
}
|
}
|
||||||
else if (/\.(bashrc|inputrc)$/.test(path)) {
|
else if (/\.(bash|inputrc|profile|zsh)/.test(path)) {
|
||||||
syntax = "sh";
|
syntax = "sh";
|
||||||
}
|
}
|
||||||
else if (/\.(git(attributes|config|ignore)|npmrc)$/.test(path)) {
|
else if (/\.(git(attributes|config|ignore)|npmrc)$/.test(path)) {
|
||||||
|
|
Ładowanie…
Reference in New Issue