summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2011-11-25 14:26:29 +0000
committerMaxime Coste <frrrwww@gmail.com>2011-11-25 14:26:29 +0000
commit9775958012ebeace0af3721fd58727f3e77e2a67 (patch)
tree0ee371f7ccdf9bfe21898479d7c5e97219854b2a /src/main.cc
parent9a4d8d5f4d36ed64563da05970d686a6a364628d (diff)
Add a HooksManager class
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 3ecfae3f..d51ed348 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -9,6 +9,7 @@
#include "debug.hh"
#include "filters.hh"
#include "filter_registry.hh"
+#include "hooks_manager.hh"
#include <unordered_map>
#include <map>
@@ -637,6 +638,7 @@ int main(int argc, char* argv[])
BufferManager buffer_manager;
RegisterManager register_manager;
FilterRegistry filter_registry;
+ HooksManager hooks_manager;
command_manager.register_command(std::vector<std::string>{ "e", "edit" }, edit,
PerArgumentCommandCompleter{ complete_filename });