From 50924561867d024244ffa91ba64eb662c2356b46 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 15 Jan 2012 13:44:16 +0000 Subject: [PATCH] Highlighters: move HighlighterParameters definition from highlighter_registry.hh to highlighter.hh --- src/highlighter.hh | 4 ++++ src/highlighter_registry.hh | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/highlighter.hh b/src/highlighter.hh index d2ff1dfb..93fb2595 100644 --- a/src/highlighter.hh +++ b/src/highlighter.hh @@ -1,7 +1,9 @@ #ifndef highlighter_hh_INCLUDED #define highlighter_hh_INCLUDED +#include #include +#include namespace Kakoune { @@ -15,6 +17,8 @@ class DisplayBuffer; typedef std::function HighlighterFunc; typedef std::pair HighlighterAndId; +typedef std::vector HighlighterParameters; + } diff --git a/src/highlighter_registry.hh b/src/highlighter_registry.hh index 4045cca4..f888325a 100644 --- a/src/highlighter_registry.hh +++ b/src/highlighter_registry.hh @@ -14,8 +14,6 @@ namespace Kakoune class Window; -typedef std::vector HighlighterParameters; - typedef std::function HighlighterFactory;