summaryrefslogtreecommitdiff
path: root/src/insert_completer.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-06-06 11:54:48 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-06-06 11:54:48 +0100
commite6f0e8ef7594ec0f7bc77edce88dfd33a95c655e (patch)
treee850918fde00e2c5e46de6ad910b702f4278d2ed /src/insert_completer.cc
parentbe03db9a249e8124f2b9a77d3bdbb8d6b884a70e (diff)
Move write_debug to buffer utils as write_to_debug_buffer
Diffstat (limited to 'src/insert_completer.cc')
-rw-r--r--src/insert_completer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/insert_completer.cc b/src/insert_completer.cc
index 24863676..8f3b98c6 100644
--- a/src/insert_completer.cc
+++ b/src/insert_completer.cc
@@ -3,7 +3,6 @@
#include "buffer_manager.hh"
#include "buffer_utils.hh"
#include "context.hh"
-#include "debug.hh"
#include "display_buffer.hh"
#include "face_registry.hh"
#include "file.hh"
@@ -430,7 +429,7 @@ bool InsertCompleter::try_complete(CompleteFunc complete_func)
}
catch (runtime_error& e)
{
- write_debug(format("error while trying to run completer: {}", e.what()));
+ write_to_debug_buffer(format("error while trying to run completer: {}", e.what()));
return false;
}
if (not m_completions.is_valid())