forked from qt-creator/qt-creator
fakevim: Added tests
Change-Id: I6b6e54817bf41402f5575142b1adb9362c717439 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -78,6 +78,8 @@
|
||||
|
||||
#include <cpptools/cpptoolsconstants.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <QAbstractTableModel>
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
@@ -991,7 +993,10 @@ bool FakeVimPluginPrivate::initialize()
|
||||
this, SLOT(handleDelayedQuit(bool,Core::IEditor*)), Qt::QueuedConnection);
|
||||
connect(this, SIGNAL(delayedQuitAllRequested(bool)),
|
||||
this, SLOT(handleDelayedQuitAll(bool)), Qt::QueuedConnection);
|
||||
maybeReadVimRc();
|
||||
|
||||
// Vimrc can break test so don't source it if running tests.
|
||||
if (!ExtensionSystem::PluginManager::runningTests())
|
||||
maybeReadVimRc();
|
||||
// << "MODE: " << theFakeVimSetting(ConfigUseFakeVim)->value();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user