[geany/geany] b11a3a: Add detection support for various Shell scripts
Ypnose
git-noreply at xxxxx
Thu Aug 15 21:48:06 UTC 2013
Branch: refs/heads/master
Author: Ypnose <linuxien at legtux.org>
Committer: Matthew Brush <matt at geany.org>
Date: Thu, 15 Aug 2013 21:48:06 UTC
Commit: b11a3adb7bc4f04d3cfc7b7a40cf8e3704dde523
https://github.com/geany/geany/commit/b11a3adb7bc4f04d3cfc7b7a40cf8e3704dde523
Log Message:
-----------
Add detection support for various Shell scripts
* Add shebang detection of mksh and tcsh.
* Add file extension detection of mksh, tcsh, and the various
"profile" shell scripts.
Closes #126
Modified Paths:
--------------
data/filetype_extensions.conf
src/filetypes.c
Modified: data/filetype_extensions.conf
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -53,7 +53,7 @@ R=*.R;*.r;
Rust=*.rs
Ruby=*.rb;*.rhtml;*.ruby;*.gemspec;Gemfile;rakefile;Rakefile;
Scala=*.scala;*.scl;
-Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.zsh;*.ash;*.bash;*.m4;
+Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.mksh;*.zsh;*.ash;*.bash;*.m4;*profile;
SQL=*.sql;
Tcl=*.tcl;*.tk;*.wish;
Txt2tags=*.t2t;
Modified: src/filetypes.c
2 files changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -925,7 +925,9 @@ static GeanyFiletype *find_shebang(const gchar *utf8_filename, const gchar *line
{ "make", GEANY_FILETYPES_MAKE },
{ "zsh", GEANY_FILETYPES_SH },
{ "ksh", GEANY_FILETYPES_SH },
+ { "mksh", GEANY_FILETYPES_SH },
{ "csh", GEANY_FILETYPES_SH },
+ { "tcsh", GEANY_FILETYPES_SH },
{ "ash", GEANY_FILETYPES_SH },
{ "dmd", GEANY_FILETYPES_D },
{ "wish", GEANY_FILETYPES_TCL },
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list