aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/xtend.lua
diff options
context:
space:
mode:
authororbitalquark <70453897+orbitalquark@users.noreply.github.com>2024-09-18 14:30:49 -0400
committerRandy Palamar <randy@rnpnr.xyz>2025-01-04 12:29:07 -0700
commitc1f4d3f68787fa2ae964c468d28a84df37319b28 (patch)
treedcd62bd74f8f9fd786cba6a0c248fb388d5244a8 /lua/lexers/xtend.lua
parentcc18cea14d1f836abcebb84a96f5029431474255 (diff)
downloadvis-c1f4d3f68787fa2ae964c468d28a84df37319b28.tar.gz
vis-c1f4d3f68787fa2ae964c468d28a84df37319b28.tar.xz
lexers: switch to tabs for indentation
Diffstat (limited to 'lua/lexers/xtend.lua')
-rw-r--r--lua/lexers/xtend.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/lua/lexers/xtend.lua b/lua/lexers/xtend.lua
index 811e541..2173ba7 100644
--- a/lua/lexers/xtend.lua
+++ b/lua/lexers/xtend.lua
@@ -16,22 +16,22 @@ lex:add_rule('class', token(lexer.KEYWORD, 'class') * ws^1 * token(lexer.CLASS,
-- Keywords.
lex:add_rule('keyword', token(lexer.KEYWORD, word_match{
- -- General.
- 'abstract', 'annotation', 'as', 'case', 'catch', 'class', 'create', 'def', 'default', 'dispatch',
- 'do', 'else', 'enum', 'extends', 'extension', 'final', 'finally', 'for', 'if', 'implements',
- 'import', 'interface', 'instanceof', 'it', 'new', 'override', 'package', 'private', 'protected',
- 'public', 'return', 'self', 'static', 'super', 'switch', 'synchronized', 'this', 'throw',
- 'throws', 'try', 'typeof', 'val', 'var', 'while',
- -- Templates.
- 'AFTER', 'BEFORE', 'ENDFOR', 'ENDIF', 'FOR', 'IF', 'SEPARATOR',
- -- Literals.
- 'true', 'false', 'null'
+ -- General.
+ 'abstract', 'annotation', 'as', 'case', 'catch', 'class', 'create', 'def', 'default', 'dispatch',
+ 'do', 'else', 'enum', 'extends', 'extension', 'final', 'finally', 'for', 'if', 'implements',
+ 'import', 'interface', 'instanceof', 'it', 'new', 'override', 'package', 'private', 'protected',
+ 'public', 'return', 'self', 'static', 'super', 'switch', 'synchronized', 'this', 'throw',
+ 'throws', 'try', 'typeof', 'val', 'var', 'while',
+ -- Templates.
+ 'AFTER', 'BEFORE', 'ENDFOR', 'ENDIF', 'FOR', 'IF', 'SEPARATOR',
+ -- Literals.
+ 'true', 'false', 'null'
}))
-- Types.
lex:add_rule('type', token(lexer.TYPE, word_match{
- 'boolean', 'byte', 'char', 'double', 'float', 'int', 'long', 'short', 'void', 'Boolean', 'Byte',
- 'Character', 'Double', 'Float', 'Integer', 'Long', 'Short', 'String'
+ 'boolean', 'byte', 'char', 'double', 'float', 'int', 'long', 'short', 'void', 'Boolean', 'Byte',
+ 'Character', 'Double', 'Float', 'Integer', 'Long', 'Short', 'String'
}))
-- Functions.