Branch: refs/heads/master Author: Edward Hutchins eahutchins@gmail.com Committer: Matthew Brush matt@geany.org Date: Thu, 15 Aug 2013 20:54:44 UTC Commit: 01b7191d661c5a2abbf521eeccaa9dcb0ed4adf0 https://github.com/geany/geany/commit/01b7191d661c5a2abbf521eeccaa9dcb0ed4ad...
Log Message: ----------- Added hashbang detection for node=>javascript.
Closes #149
Modified Paths: -------------- src/filetypes.c
Modified: src/filetypes.c 3 files changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -928,7 +928,8 @@ static GeanyFiletype *find_shebang(const gchar *utf8_filename, const gchar *line { "csh", GEANY_FILETYPES_SH }, { "ash", GEANY_FILETYPES_SH }, { "dmd", GEANY_FILETYPES_D }, - { "wish", GEANY_FILETYPES_TCL } + { "wish", GEANY_FILETYPES_TCL }, + { "node", GEANY_FILETYPES_JS } }; gchar *tmp = g_path_get_basename(line + 2); gchar *basename_interpreter = tmp;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).