Add *.vala extension to CSharp filetype to support the Vala language.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2131 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2007-12-25 14:19:47 +00:00
parent bd6c2c611f
commit 5d3801fe30
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-12-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, src/filetypes.c:
Add *.vala extension to CSharp filetype to support the Vala language.
2007-12-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/plugindata.h:

View File

@ -7,7 +7,7 @@
ASM=*.asm;
C=*.c;*.h;
C++=*.cpp;*.cxx;*.c++;*.cc;*.h;*.hpp;*.hxx;*.h++;*.hh;*.C;
C#=*.cs;*.lala;
C#=*.cs;*.vala;
CAML=*.ml;*.mli;
D=*.d;*.di;
Fortran=*.f;*.for;*.ftn;*.f77;*.f90;*.f95;

View File

@ -129,7 +129,7 @@ void filetypes_init_types()
filetypes[GEANY_FILETYPES_CS]->name = g_strdup("C#");
filetypes[GEANY_FILETYPES_CS]->title = g_strdup_printf(_("%s source file"), "C#");
filetypes[GEANY_FILETYPES_CS]->extension = g_strdup("cs");
filetypes[GEANY_FILETYPES_CS]->pattern = utils_strv_new("*.cs", "*.lala", NULL);
filetypes[GEANY_FILETYPES_CS]->pattern = utils_strv_new("*.cs", "*.vala", NULL);
filetypes[GEANY_FILETYPES_CS]->comment_open = g_strdup("//");
filetypes[GEANY_FILETYPES_CS]->comment_close = NULL;