summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-scite.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-scite.lua b/scripts/context/lua/mtx-scite.lua
index c969f209e..116555e79 100644
--- a/scripts/context/lua/mtx-scite.lua
+++ b/scripts/context/lua/mtx-scite.lua
@@ -180,7 +180,9 @@ scripts.scite = scripts.scite or { }
local function splitwords(words)
local w = { }
for s in string.gmatch(words,"[a-zA-Z\127-255]+") do
- w[lower(s)] = s
+ if #s > 2 then -- will become option
+ w[lower(s)] = s
+ end
end
return w
end