summaryrefslogtreecommitdiff
path: root/mod/scripts/context
diff options
context:
space:
mode:
authorPhilipp Gesang <megas.kapaneus@gmail.com>2011-08-28 14:30:54 +0200
committerPhilipp Gesang <megas.kapaneus@gmail.com>2011-08-28 14:30:54 +0200
commit001738e26e1b841a4042b3597ba28d9c3d04aef6 (patch)
tree6e1898eed40ac96a7677206109e6395ddd98f619 /mod/scripts/context
parent258db63993a69f76301faefa7e7a5727f23d2614 (diff)
downloadcontext-rst-001738e26e1b841a4042b3597ba28d9c3d04aef6.tar.gz
fixed solitary substitution bug (reported by Philipp A.)
Diffstat (limited to 'mod/scripts/context')
-rw-r--r--mod/scripts/context/lua/mtx-rst.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/scripts/context/lua/mtx-rst.lua b/mod/scripts/context/lua/mtx-rst.lua
index 2b3841a..08782a9 100644
--- a/mod/scripts/context/lua/mtx-rst.lua
+++ b/mod/scripts/context/lua/mtx-rst.lua
@@ -53,7 +53,7 @@ scripts.rst.output = ea("of")
if scripts.rst.input and scripts.rst.output then
local expandtab = ea("et") == "true" and true
local shiftwidth = ea("sw")
- local debug = ea("debug") == "true" and true or false
+ local debug = ea("debug") == "true"
if expandtab then thirddata.rst.expandtab = true end
if shiftwdith then thirddata.rst.shiftwidth = tonumber(shiftwidth) end
if debug then thirddata.rst_helpers.rst_debug = debug end