summaryrefslogtreecommitdiff
path: root/src/highlighter.cc
AgeCommit message (Collapse)Author
2025-07-08Replace std::unique_ptr with a custom implementationMaxime Coste
<memory> is a costly header we can avoid by just implementing UniquePtr ourselves, which is a pretty straightforward in modern C++, this saves around 10% of the compilation time here.
2024-08-16include headers cleanupAdriĆ  Arrufat
2024-08-12Move debug utils to debug.hh/debug.ccMaxime Coste
Lots of code includes buffer_utils.hh just for write_to_debug_buffer which pulls many unnecessary dependencies. Reorganise to reduce compile times.
2020-03-30Add -override support to add-highlighterMaxime Coste
This allow replacing a highlighter in place, not loosing its current position in its parent. Fixes #3436
2018-07-05Refactor add-highlighter to make naming explicitMaxime Coste
The highlighter name must be given as part of the path of the highlighter, as the last element. Fixes #1712
2018-06-01Fix grammar in highlight error messageAlyssa Ross
2018-04-07Make FaceRegistry scopedMaxime Coste
set-face now takes a scope argument, and faces can be overridden on a buffer or window basis. colorscheme apply on global scope, which should be good enough for now. Fixes #1411