diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-23 20:30:46 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-24 02:47:49 +0100 |
commit | fec93b9b0cc83dc1102c78c8bf1eacaf8763d9b8 (patch) | |
tree | 2138c060b90a104c367dc9a36223b694c1b33f06 /lib/lexers/bash.tes | |
parent | e4789a60d2a409f74efba9e9a3faf5250a50e0ae (diff) | |
download | sciteco-fec93b9b0cc83dc1102c78c8bf1eacaf8763d9b8.tar.gz |
reformatted existing lexer definitions
* they are updated with the results of scite2co.lua
This makes it easier in the future to update lexer settings
based on the property files of new SciTE releases.
Diffstat (limited to 'lib/lexers/bash.tes')
-rw-r--r-- | lib/lexers/bash.tes | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/lexers/bash.tes b/lib/lexers/bash.tes new file mode 100644 index 0000000..80a3bbb --- /dev/null +++ b/lib/lexers/bash.tes @@ -0,0 +1,42 @@ +! Unix Shell + It's called bash.tes only because SciTE calls it this way + internally ! + +@[lexer.test.bash]{ [_ + _#!M[sh,bash,ksh]M[lexer.checkheader]"S + -1 + | + _[.sh,.bsh,configure,.ksh]M[lexer.checkname] + ' +]_ } + +@[lexer.set.bash]{ + ESSETLEXER,SCLEX_BASH + 0ESSETKEYWORDS + alias ar asa awk banner basename bash bc bdiff break bunzip2 bzip2 cal + calendar case cat cc cd chmod cksum clear cmp col comm compress continue cp cpio + crypt csplit ctags cut date dc dd declare deroff dev df diff diff3 dircmp dirname + do done du echo ed egrep elif else env esac eval ex exec exit expand export + expr false fc fgrep fi file find fmt fold for function functions getconf getopt + getopts grep gres hash head help history iconv id if in integer jobs join kill local + lc let line ln logname look ls m4 mail mailx make man mkdir more mt mv newgrp + nl nm nohup ntps od pack paste patch pathchk pax pcat perl pg pr print printf + ps pwd read readonly red return rev rm rmdir sed select set sh shift size sleep + sort spell split start stop strings strip stty sum suspend sync tail tar tee test + then time times touch tr trap true tsort tty type typeset ulimit umask unalias + uname uncompress unexpand uniq unpack unset until uudecode uuencode vi vim vpax + wait wc whence which while who wpaste wstart xargs zcat chgrp chown chroot dir + dircolors factor groups hostid install link md5sum mkfifo mknod nice pinky printenv + ptx readlink seq sha1sum shred stat su tac unlink users vdir whoami yes + :M[color.error],1M[color.set] + :M[color.comment],2M[color.set] + :M[color.number],3M[color.set] + :M[color.keyword],4M[color.set] + :M[color.string],5M[color.set] + :M[color.string],6M[color.set] + :M[color.operator],7M[color.set] + :M[color.target],8M[color.set] ! Identifiers, e.g. FOO=... ! + :M[color.variable],9M[color.set] + :M[color.variable],10M[color.set] + :M[color.string2],11M[color.set] ! Backticks ! +} |