if not fs.exists("LevelOS/CMD/latch.lua") then return {} end
local latch = dofile("LevelOS/CMD/latch.lua")
self = {opt={}}
self.opt.cursorColor = colors.white
self.opt.overflowY = "scroll"
self.opt.overflowX = "scroll"
self.opt.syntax = {
	type="latch",
	label = colors.cyan,
	comment = colors.green,
	string = colors.yellow,
	number = colors.purple,
	operator = colors.red,
	keyword = colors.red,
	value = colors.purple,
	whitespace = colors.gray,
	unidentified = colors.lightGray,
	comparison = colors.red,
	assign = colors.red,
	symbol = colors.white,
	escape = colors.purple,
	arg = colors.orange,
	variable = colors.white,
	["function"] = colors.cyan,
	lexer = latch.lex,
}
self.opt.indentChar = ":"
self.opt.selectColor=colors.magenta
return self.opt