diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-01 19:02:12 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-01 19:02:12 -0700 |
commit | 9a65abd64ed01abf08c52c6ed19ab4552d3dd522 (patch) | |
tree | 82092cebaa88d6bee5f93240a679028315eac352 /socket.c | |
parent | 00ae1477295136c8a3e81b5afae1b714de9822f8 (diff) | |
download | txr-9a65abd64ed01abf08c52c6ed19ab4552d3dd522.tar.gz txr-9a65abd64ed01abf08c52c6ed19ab4552d3dd522.tar.bz2 txr-9a65abd64ed01abf08c52c6ed19ab4552d3dd522.zip |
vim: improve JSON highlighting.
* genvim.txr (ws, jlist, jsonkw, jerr, jpunc, jesc, juesc,
jnum): New variables.
(txr_circ): Move down; this somehow clashes with JSON regions
beginning with #, so that even if we include txr_circ in JSON
regions, it doesn't work properly.
(txr_jerr, txr_jpunc, txr_jesc, txr_juesc, txr_jnum): Define
using variables.
(txr_jkeyword): Switch to regex match instead of keyword. Vim
8.0 does not recognize keywords when they are glued to #J, as
in #Jtrue, even though #J is excluded from the region.
(txr_jatom): New region.
(txr_jarray, txr_jhash): Define using jlist variable for
contained items.
(txr_jarray_in, txr_jhash_in): New regions for the inner
parts without the #J.
Diffstat (limited to 'socket.c')
0 files changed, 0 insertions, 0 deletions