Fix incorrect safety check in non-regex search code
[geany-mirror.git] / data / filetypes.lua
blobc639cafe904b7b679de6a3f72ebfb48fa4bbed3c
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # Edit these in the colorscheme .conf file instead
4 default=default
5 comment=comment
6 commentline=comment_line
7 commentdoc=comment_line_doc
8 number=number_1
9 word=keyword_1
10 string=string_1
11 character=character
12 literalstring=string_2
13 preprocessor=preprocessor
14 operator=operator
15 identifier=identifier_1
16 stringeol=string_eol
17 function_basic=function
18 function_other=type
19 coroutines=class
20 word5=keyword_1
21 word6=keyword_2
22 word7=keyword_3
23 word8=keyword_4
24 label=label
26 [keywords]
27 # all items must be in one line
28 keywords=and break do else elseif end false for function if in local nil not or repeat return then true until while
29 # Basic functions
30 function_basic=_ALERT assert call collectgarbage coroutine debug dofile dostring error _ERRORMESSAGE foreach foreachi _G gcinfo getfenv getmetatable getn globals _INPUT io ipairs load loadfile loadlib loadstring math module newtype next os _OUTPUT pairs pcall print _PROMPT rawequal rawget rawset require select setfenv setmetatable sort _STDERR _STDIN _STDOUT string table tinsert tonumber tostring tremove type unpack _VERSION xpcall
31 # String, (table) & math functions
32 function_other=abs acos asin atan atan2 ceil cos deg exp floor format frexp gsub ldexp log log10 math.abs math.acos math.asin math.atan math.atan2 math.ceil math.cos math.cosh math.deg math.exp math.floor math.fmod math.frexp math.huge math.ldexp math.log math.log10 math.max math.min math.mod math.modf math.pi math.pow math.rad math.random math.randomseed math.sin math.sinh math.sqrt math.tan math.tanh max min mod rad random randomseed sin sqrt strbyte strchar strfind string.byte string.char string.dump string.find string.format string.gfind string.gmatch string.gsub string.len string.lower string.match string.rep string.reverse string.sub string.upper strlen strlower strrep strsub strupper table.concat table.foreach table.foreachi table.getn table.insert table.maxn table.remove table.setn table.sort tan
33 # (coroutines), I/O & system facilities
34 coroutines=appendto clock closefile coroutine.create coroutine.resume coroutine.running coroutine.status coroutine.wrap coroutine.yield date difftime execute exit flush getenv io.close io.flush io.input io.lines io.open io.output io.popen io.read io.stderr io.stdin io.stdout io.tmpfile io.type io.write openfile os.clock os.date os.difftime os.execute os.exit os.getenv os.remove os.rename os.setlocale os.time os.tmpname package.cpath package.loaded package.loadlib package.path package.preload package.seeall read readfrom remove rename seek setlocale time tmpfile tmpname write writeto
35 # user definable keywords
36 user1=
37 user2=
38 user3=
39 user4=
41 [settings]
42 # default extension used when saving files
43 extension=lua
45 # MIME type
46 mime_type=text/x-lua
48 # the following characters are these which a "word" can contains, see documentation
49 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
51 # single comments, like # in this file
52 comment_single=--
53 # multiline comments
54 comment_open=--[[
55 comment_close=]]--
57 # set to false if a comment character/string should start at column 0 of a line, true uses any
58 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
59 #command_example();
60 # setting to false would generate this
61 # command_example();
62 # This setting works only for single line comments
63 comment_use_indent=true
65 # context action command (please see Geany's main documentation for details)
66 context_action_cmd=
68 [indentation]
69 #width=4
70 # 0 is spaces, 1 is tabs, 2 is tab & spaces
71 #type=1
73 [build_settings]
74 # %f will be replaced by the complete filename
75 # %e will be replaced by the filename without extension
76 # (use only one of it at one time)
77 compiler=
78 run_cmd=lua "%f"