]> gitweb.factorcode.org Git - factor.git/commit
[misc] vim/syntax: Fixups
authorDusk <me@bb010g.com>
Sun, 7 Jun 2020 02:04:05 +0000 (19:04 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 7 Jun 2020 03:31:59 +0000 (20:31 -0700)
commit35b86213064e1fa46aeb1e0c1a8a4a54fb9784ef
treeee198dbc3a9a2c2944dc5d421175aff6400d9eb0
parent0a8cb5f2c1fa1747b741f1e2d3ec090cb43637d0
[misc] vim/syntax: Fixups

(Thanks, @mrjbq7!) Now:
+ `CHAR:` literals highlight the whole next token.
+ `0b...` binary literals don't require invalid `+=0b` or `-=0b` syntax.
+ Float literals can't start with a `,` separator.
+ Float literals can have exponents with `,` separators.
+ `foo: ...` stack effects function as intended in general.
+ Syntax clusters might be a bit cleaner with `g:factor_syn_no_error`.
misc/vim/syntax/factor.vim