From 5d3801fe30836cfba959e5fbd668c49a4a380b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Tue, 25 Dec 2007 14:19:47 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ data/filetype_extensions.conf | 2 +- src/filetypes.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 976ae8d4..14102e9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-25 Enrico Tröger + + * data/filetype_extensions.conf, src/filetypes.c: + Add *.vala extension to CSharp filetype to support the Vala language. + + 2007-12-25 Nick Treleaven * src/keybindings.c, src/keybindings.h, src/plugindata.h: diff --git a/data/filetype_extensions.conf b/data/filetype_extensions.conf index a76863ea..e10b9cac 100644 --- a/data/filetype_extensions.conf +++ b/data/filetype_extensions.conf @@ -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; diff --git a/src/filetypes.c b/src/filetypes.c index 7af78a70..0f46f99d 100644 --- a/src/filetypes.c +++ b/src/filetypes.c @@ -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;