From 3343fa2a376e0737b926b570f8cd743b2a75e693 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 22 Dec 2008 13:08:27 -0500 Subject: Light theme is the default; moved old dark default into its own theme. --- themes/light/buffer.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 themes/light/buffer.lua (limited to 'themes/light/buffer.lua') diff --git a/themes/light/buffer.lua b/themes/light/buffer.lua new file mode 100644 index 00000000..a4597ee2 --- /dev/null +++ b/themes/light/buffer.lua @@ -0,0 +1,20 @@ +-- Copyright 2007-2008 Mitchell mitchellcaladbolg.net. See LICENSE. +-- Light editor theme for Textadept. + +local textadept, buffer = textadept, buffer + +-- folding +buffer.property['fold'] = '1' +buffer.property['fold.by.indentation'] = '1' + +-- tabs and indentation +buffer.tab_width = 2 +buffer.use_tabs = false +buffer.indent = 2 +buffer.tab_indents = true +buffer.back_space_un_indents = true +buffer.indentation_guides = 1 + +-- various +buffer.eol_mode = textadept.constants.SC_EOL_LF +buffer.auto_c_choose_single = true -- cgit v1.2.3