aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/javascript.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-01-19 20:54:01 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-01-19 21:08:30 +0100
commit242f22f2ef7aeb14c36e54d7d44d3fd4e51a5d06 (patch)
tree6bf146e1635cf0f427b4f1c0ad888fb4993bc726 /lua/lexers/javascript.lua
parent8e7a73bb1f697f61efce016e6d9a4b8840bd0878 (diff)
downloadvis-242f22f2ef7aeb14c36e54d7d44d3fd4e51a5d06.tar.gz
vis-242f22f2ef7aeb14c36e54d7d44d3fd4e51a5d06.tar.xz
lexer: sync with scintillua changeset 582 rev d70a5ee43d38
Diffstat (limited to 'lua/lexers/javascript.lua')
-rw-r--r--lua/lexers/javascript.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/lexers/javascript.lua b/lua/lexers/javascript.lua
index f879948..ccb102d 100644
--- a/lua/lexers/javascript.lua
+++ b/lua/lexers/javascript.lua
@@ -1,4 +1,4 @@
--- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
+-- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE.
-- JavaScript LPeg lexer.
local l = require('lexer')
@@ -32,9 +32,9 @@ local keyword = token(l.KEYWORD, word_match{
'abstract', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class',
'const', 'continue', 'debugger', 'default', 'delete', 'do', 'double', 'else',
'enum', 'export', 'extends', 'false', 'final', 'finally', 'float', 'for',
- 'function', 'goto', 'if', 'implements', 'import', 'in', 'instanceof', 'int',
- 'interface', 'let', 'long', 'native', 'new', 'null', 'of', 'package',
- 'private', 'protected', 'public', 'return', 'short', 'static', 'super',
+ 'function', 'get', 'goto', 'if', 'implements', 'import', 'in', 'instanceof',
+ 'int', 'interface', 'let', 'long', 'native', 'new', 'null', 'of', 'package',
+ 'private', 'protected', 'public', 'return', 'set', 'short', 'static', 'super',
'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'true',
'try', 'typeof', 'var', 'void', 'volatile', 'while', 'with', 'yield'
})