Recognize #!/bin/dash as shebang for Shell files (closes #3470986)
[geany-mirror.git] / data / filetypes.vala
blobc493f6deaa27b2418ff68679ef9f0dd40b4b3dc1
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling=C]
4 [keywords]
5 # all items must be in one line
6 primary=abstract as async base bool break callback case catch char class const constpointer construct continue default delegate delete do double dynamic else ensures enum errordomain extern false finally float for foreach generic get global if in inline int int16 int32 int64 int8 interface internal is lock long namespace new null out override owned private protected public ref requires return set sealed short signal size_t sizeof ssize_t static string struct switch this throw throws time_t true try typeof uchar uint uint16 uint32 uint64 uint8 ulong unichar unowned ushort using value var virtual void weak while yield
7 #secondary=
8 # these are some doxygen and valadoc keywords (incomplete)
9 docComment=attention author brief bug class code date def deprecated enum example exception file fn inheritDoc link namespace note param remarks return see since struct throw throws todo typedef union var version warning
11 [lexer_properties]
12 styling.within.preprocessor=1
13 lexer.cpp.track.preprocessor=0
14 preprocessor.symbol.$(file.patterns.cpp)=#
15 preprocessor.start.$(file.patterns.cpp)=if
16 preprocessor.middle.$(file.patterns.cpp)=else elif
17 preprocessor.end.$(file.patterns.cpp)=endif
18 lexer.cpp.triplequoted.strings=1
20 [settings]
21 lexer_filetype=C
23 # default extension used when saving files
24 extension=vala
26 # the following characters are these which a "word" can contains, see documentation
27 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
29 # single comments, like # in this file
30 comment_single=//
31 # multiline comments
32 comment_open=/*
33 comment_close=*/
35 # set to false if a comment character/string should start at column 0 of a line, true uses any
36 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
37 #command_example();
38 # setting to false would generate this
39 # command_example();
40 # This setting works only for single line comments
41 #comment_use_indent=true
43 # context action command (please see Geany's main documentation for details)
44 #context_action_cmd=
46 [indentation]
47 #width=4
48 # 0 is spaces, 1 is tabs, 2 is tab & spaces
49 #type=1
51 [build_settings]
52 # %f will be replaced by the complete filename
53 # %e will be replaced by the filename without extension
54 # (use only one of it at one time)
55 compiler=valac -c "%f"
56 linker=valac "%f"
57 run_cmd=./"%e"