diff --git a/src/highlighters.cc b/src/highlighters.cc index 448427ec2..2353e347d 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -2281,33 +2281,29 @@ void register_highlighters() HighlighterRegistry& registry = HighlighterRegistry::instance(); registry.insert({ - "number-lines", - { LineNumbersHighlighter::create, - "Display line numbers \n" - "Parameters: -relative, -hlcursor, -separator , -cursor-separator , -min-digits \n" } }); + "column", + { create_column_highlighter, + "Parameters: \n" + "Highlight the column given by evaluating with " } }); registry.insert({ - "show-matching", - { create_matching_char_highlighter, - "Apply the MatchingChar face to the char matching the one under the cursor" } }); - registry.insert({ - "show-whitespaces", - { ShowWhitespacesHighlighter::create, - "Display whitespaces using symbols \n" - "Parameters: -tab -tabpad -lf -spc -nbsp \n" } }); - registry.insert({ - "fill", - { create_fill_highlighter, - "Fill the whole highlighted range with the given face" } }); - registry.insert({ - "regex", - { RegexHighlighter::create, - "Parameters: : :...\n" - "Highlights the matches for captures from the regex with the given faces" } }); + "default-region", + { RegionsHighlighter::create_default_region, + "Parameters: ...\n" + "Define the default region of a regions highlighter" } }); registry.insert({ "dynregex", { create_dynamic_regex_highlighter, "Parameters: : :...\n" "Evaluate expression at every redraw to gather a regex" } }); + registry.insert({ + "fill", + { create_fill_highlighter, + "Fill the whole highlighted range with the given face" } }); + registry.insert({ + "flag-lines", + { FlagLinesHighlighter::create, + "Parameters: