summaryrefslogtreecommitdiff
path: root/context/data/scite/lexers/scite-context-lexer-txt.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-04-17 22:37:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-04-17 22:37:00 +0200
commit4833d4fc12d57cde9d0b70ff60ff6417b722b38d (patch)
tree43cebd2b1df7d4a76a4a2c9dce0e2358296ffbee /context/data/scite/lexers/scite-context-lexer-txt.lua
parent3159b11716778db5ba410914225bfdb6661f292d (diff)
downloadcontext-4833d4fc12d57cde9d0b70ff60ff6417b722b38d.tar.gz
beta 2012.04.17 22:37
Diffstat (limited to 'context/data/scite/lexers/scite-context-lexer-txt.lua')
-rw-r--r--context/data/scite/lexers/scite-context-lexer-txt.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/context/data/scite/lexers/scite-context-lexer-txt.lua b/context/data/scite/lexers/scite-context-lexer-txt.lua
index 2f476a6a8..f607ee1eb 100644
--- a/context/data/scite/lexers/scite-context-lexer-txt.lua
+++ b/context/data/scite/lexers/scite-context-lexer-txt.lua
@@ -13,11 +13,9 @@ local token = lexer.token
local P, S, Cmt = lpeg.P, lpeg.S, lpeg.Cmt
local find, match = string.find, string.match
-local textlexer = { _NAME = "text" }
-
-local context = lexer.context
-
+local textlexer = { _NAME = "txt" }
local whitespace = lexer.WHITESPACE
+local context = lexer.context
local space = lexer.space
local any = lexer.any