filetype: Set "groovy" for Jenkinsfile
[vis.git] / lua / lexers / text.lua
blobcc41bfaff59d8b945cbe338f7c321479d5fed32b
1 -- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE.
2 -- Text LPeg lexer.
4 local l = require('lexer')
6 local M = {_NAME = 'text'}
8 -- Whitespace.
9 local ws = l.token(l.WHITESPACE, l.space^1)
11 M._rules = {
12 {'whitespace', ws},
15 return M