mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
Port custom processor for hints
This commit is contained in:
@@ -72,7 +72,8 @@ the :ref:`kitty config directory <confloc>` with the following contents:
|
||||
start, end = m.span()
|
||||
mark_text = text[start:end].replace('\n', '').replace('\0', '')
|
||||
# The empty dictionary below will be available as groupdicts
|
||||
# in handle_result() and can contain arbitrary data.
|
||||
# in handle_result() and can contain string keys and arbitrary JSON
|
||||
# serializable values.
|
||||
yield Mark(idx, start, end, mark_text, {})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user