aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/haskell/haskellplugin.cpp')
-rw-r--r--plugins/haskell/haskellplugin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/haskell/haskellplugin.cpp b/plugins/haskell/haskellplugin.cpp
index 8df9961..fd6827f 100644
--- a/plugins/haskell/haskellplugin.cpp
+++ b/plugins/haskell/haskellplugin.cpp
@@ -27,6 +27,8 @@
#include "haskellconstants.h"
#include "haskelleditorfactory.h"
+#include <texteditor/snippets/snippetprovider.h>
+
namespace Haskell {
namespace Internal {
@@ -55,6 +57,9 @@ bool HaskellPlugin::initialize(const QStringList &arguments, QString *errorStrin
addAutoReleasedObject(new HaskellEditorFactory);
+ TextEditor::SnippetProvider::registerGroup(Constants::C_HASKELLSNIPPETSGROUP_ID,
+ tr("Haskell", "SnippetProvider"));
+
return true;
}