From b3c832b412f2466c53b6a57d41899ace6836c89d Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 2 Oct 2013 22:45:27 -0400 Subject: Changed `ui.set_theme()` API to accept a table of properties to assign. --- doc/09_Themes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/09_Themes.md') diff --git a/doc/09_Themes.md b/doc/09_Themes.md index a940f4c9..6c245a34 100644 --- a/doc/09_Themes.md +++ b/doc/09_Themes.md @@ -59,7 +59,7 @@ parameters, or create an abbreviated *~/.textadept/themes/light.lua* using Lua's `dofile()` function. For example: -- File *~/.textadept/init.lua* - ui.set_theme('light', 'font', 'Monospace', 'fontsize', 12) + ui.set_theme('light', {font = 'Monospace', fontsize = 12}) -- File *~/.textadept/themes/light.lua* dofile(_HOME..'/themes/light.lua') -- cgit v1.2.3