diff options
Diffstat (limited to 'src/MoonP/moonplus.cpp')
-rw-r--r-- | src/MoonP/moonplus.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/MoonP/moonplus.cpp b/src/MoonP/moonplus.cpp index d6352f5..cb6d3ec 100644 --- a/src/MoonP/moonplus.cpp +++ b/src/MoonP/moonplus.cpp | |||
@@ -64,6 +64,12 @@ static int moontolua(lua_State* L) { | |||
64 | config.reserveLineNumber = lua_toboolean(L, -1) != 0; | 64 | config.reserveLineNumber = lua_toboolean(L, -1) != 0; |
65 | } | 65 | } |
66 | lua_pop(L, 1); | 66 | lua_pop(L, 1); |
67 | lua_pushliteral(L, "space_over_tab"); | ||
68 | lua_gettable(L, -2); | ||
69 | if (lua_isboolean(L, -1) != 0) { | ||
70 | config.useSpaceOverTab = lua_toboolean(L, -1) != 0; | ||
71 | } | ||
72 | lua_pop(L, 1); | ||
67 | lua_pushliteral(L, "same_module"); | 73 | lua_pushliteral(L, "same_module"); |
68 | lua_gettable(L, -2); | 74 | lua_gettable(L, -2); |
69 | if (lua_isboolean(L, -1) != 0) { | 75 | if (lua_isboolean(L, -1) != 0) { |