summaryrefslogtreecommitdiff
path: root/mod/scripts/context/lua
diff options
context:
space:
mode:
Diffstat (limited to 'mod/scripts/context/lua')
-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