summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-06-17 11:06:20 +1000
committerMaxime Coste <mawww@kakoune.org>2018-07-05 07:54:28 +1000
commit7abf04babdf9074232a3dac61a66979076558a55 (patch)
tree6fd1e997714e720027e9eb1a1d34054edcceeda4 /src
parent759a253923edc72605112ef2fe0a6900a77d407c (diff)
Improve highlighting of Kakrc string regions
Unfortunately Strings that start with a quoted quote (like '''str') are still incorrectly highlighted, a deeper refactoring of the regions highlighter will be necessary.
Diffstat (limited to 'src')
-rw-r--r--src/highlighters.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highlighters.cc b/src/highlighters.cc
index 3f9fbf46..cf470c34 100644
--- a/src/highlighters.cc
+++ b/src/highlighters.cc
@@ -1709,7 +1709,7 @@ struct RegionMatches
return end_it;
while (rec_it != recurse_matches.end() and
- rec_it->end_coord() <= end_it->begin_coord())
+ rec_it->end_coord() <= end_it->end_coord())
{
if (not capture or rec_it->capture == *capture)
++recurse_level;