aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/moonscript.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-03-31 12:50:33 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-03-31 12:58:21 +0200
commitdc5f5a45a2315011ebeeb0a56a7434ead292dc96 (patch)
tree42e155217801668ace0d7c0a2264a323ed42c801 /lua/lexers/moonscript.lua
parent6f44057d09b865e9c7e443cd7d7adb8e541121db (diff)
downloadvis-dc5f5a45a2315011ebeeb0a56a7434ead292dc96.tar.gz
vis-dc5f5a45a2315011ebeeb0a56a7434ead292dc96.tar.xz
lexers: sync with scintillua changeset 600 rev fdeca0b808bf
I think the default value for the cache argument to the lexer load function should be true, not false. Optimize for the common case. This makes the API ugly/harder to use. But for now we follow upstream.
Diffstat (limited to 'lua/lexers/moonscript.lua')
-rw-r--r--lua/lexers/moonscript.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/lua/lexers/moonscript.lua b/lua/lexers/moonscript.lua
index 50638ed..c0a00d2 100644
--- a/lua/lexers/moonscript.lua
+++ b/lua/lexers/moonscript.lua
@@ -163,7 +163,6 @@ M._tokenstyles = {
fndef = l.STYLE_PREPROCESSOR,
symbol = l.STYLE_EMBEDDED,
tbl_key = l.STYLE_REGEX,
- error = l.STYLE_ERROR,
}
M._FOLDBYINDENTATION = true