18388077e6
Closes #3339420 and #3390435. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5902 ea778897-0a13-0410-b9d1-a72fbfd435f5
76 lines
4.0 KiB
Lua
76 lines
4.0 KiB
Lua
# For complete documentation of this file, please see Geany's main documentation
|
|
[styling]
|
|
# foreground;background;bold;italic
|
|
default=0x000000;0xffffff;false;false
|
|
comment=0xd00000;0xffffff;false;false
|
|
commentline=0xd00000;0xffffff;false;false
|
|
commentdoc=0x3f5fbf;0xffffff;true;false
|
|
number=0x007f00;0xffffff;false;false
|
|
word=0x00007f;0xffffff;true;false
|
|
string=0xff901e;0xffffff;false;false
|
|
character=0x008000;0xffffff;false;false
|
|
literalstring=0x008020;0xffffff;false;false
|
|
preprocessor=0x007f7f;0xffffff;false;false
|
|
operator=0x301010;0xffffff;false;false
|
|
identifier=0x000000;0xffffff;false;false
|
|
stringeol=0x000000;0xe0c0e0;false;false
|
|
function_basic=0x991111;0xffffff;false;false
|
|
function_other=0x690000;0xffffff;false;false
|
|
coroutines=0x66005c;0xffffff;false;false
|
|
word5=0x7979ff;0xffffff;false;false
|
|
word6=0xad00ff;0xffffff;false;false
|
|
word7=0x03D000;0xffffff;false;false
|
|
word8=0xff7600;0xffffff;false;false
|
|
|
|
[keywords]
|
|
# all items must be in one line
|
|
keywords=and break do else elseif end false for function if in local nil not or repeat return then true until while
|
|
# Basic functions
|
|
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
|
|
# String, (table) & math functions
|
|
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
|
|
# (coroutines), I/O & system facilities
|
|
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
|
|
# user definable keywords
|
|
user1=
|
|
user2=
|
|
user3=
|
|
user4=
|
|
|
|
[settings]
|
|
# default extension used when saving files
|
|
extension=lua
|
|
|
|
# the following characters are these which a "word" can contains, see documentation
|
|
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
|
|
|
|
# single comments, like # in this file
|
|
comment_single=--
|
|
# multiline comments
|
|
comment_open=--[[
|
|
comment_close=]]--
|
|
|
|
# set to false if a comment character/string should start at column 0 of a line, true uses any
|
|
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
|
|
#command_example();
|
|
# setting to false would generate this
|
|
# command_example();
|
|
# This setting works only for single line comments
|
|
comment_use_indent=true
|
|
|
|
# context action command (please see Geany's main documentation for details)
|
|
context_action_cmd=
|
|
|
|
[indentation]
|
|
#width=4
|
|
# 0 is spaces, 1 is tabs, 2 is tab & spaces
|
|
#type=1
|
|
|
|
[build_settings]
|
|
# %f will be replaced by the complete filename
|
|
# %e will be replaced by the filename without extension
|
|
# (use only one of it at one time)
|
|
compiler=
|
|
run_cmd=lua "%f"
|
|
|