diff options
author | Hans Hagen <pragma@wxs.nl> | 2011-09-19 12:37:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2011-09-19 12:37:00 +0200 |
commit | 0db4b524a2206b4b5d9498bfd10d00638541e30a (patch) | |
tree | 3a61c1965861091190226566466de4c219e91261 /scripts | |
parent | e5cc3bef1e068851dd40872872f74e72c1737280 (diff) | |
download | context-0db4b524a2206b4b5d9498bfd10d00638541e30a.tar.gz |
beta 2011.09.19 12:37
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtx-scite.lua | 4 |
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 |