summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-09-19 13:40:13 +0300
committerMarius <mariausol@gmail.com>2011-09-19 13:40:13 +0300
commit23d49db944011bca3c1b0812fd5f3d354ed33c41 (patch)
tree4043b2cb16f02555f0728319f4dd1b512aa833dc /scripts
parent4530daff791f4e5e6b9ded048cad042b9e4ec46f (diff)
downloadcontext-23d49db944011bca3c1b0812fd5f3d354ed33c41.tar.gz
beta 2011.09.19 12:37
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