diff options
Diffstat (limited to 'system/application/models/file_mod.php')
-rw-r--r-- | system/application/models/file_mod.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index 27f59dfd3..d712c7fa3 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -370,7 +370,8 @@ class File_mod extends Model { function filename2extension($name) { $namearray = array( - 'PKGBUILD' => 'sh' + 'PKGBUILD' => 'bash', + '.vimrc' => 'vim' ); if (array_key_exists($name, $namearray)) return $namearray[$name]; |