[geany/geany] 01b719: Added hashbang detection for node=>javascript.
Edward Hutchins
git-noreply at xxxxx
Thu Aug 15 20:54:44 UTC 2013
Branch: refs/heads/master
Author: Edward Hutchins <eahutchins at gmail.com>
Committer: Matthew Brush <matt at geany.org>
Date: Thu, 15 Aug 2013 20:54:44 UTC
Commit: 01b7191d661c5a2abbf521eeccaa9dcb0ed4adf0
https://github.com/geany/geany/commit/01b7191d661c5a2abbf521eeccaa9dcb0ed4adf0
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).
More information about the Commits
mailing list