summaryrefslogtreecommitdiff
path: root/src/display_buffer.hh
diff options
context:
space:
mode:
authorMatt Schick <matt@schickm.com>2018-10-06 08:39:01 -0500
committerMatt Schick <matt@schickm.com>2018-10-06 08:39:01 -0500
commit8e698e0054ddca64da603d4a26e37946bd5da7b1 (patch)
tree83282e68a8369da1ebc46a4bbf37be4021bf9c8f /src/display_buffer.hh
parenteba40028b983f1698dc79aae779f2d8eda8918c4 (diff)
Simplify handlebars adding/removal hooks
Removing the handlebars highlighters when a client toggles away from hbs window unintentionally causes other clients attached to hbs windows to no longer highlight correctly. The only other option is to copy the entire html highlighter and all of it's rules, but that seems like a maitenance headache. So instead, just leave the hbs rules injected into the html rules once the user opens any handlebars file. It's not ideal, but I'd say it's the least bad option.
Diffstat (limited to 'src/display_buffer.hh')
0 files changed, 0 insertions, 0 deletions