aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellplugin.cpp
diff options
context:
space:
mode:
authorEike Ziller <git@eikeziller.de>2017-04-24 16:42:24 +0200
committerEike Ziller <git@eikeziller.de>2017-10-01 20:11:08 +0200
commit2f69373309cfe88084c5777baeff6bb46eecd071 (patch)
tree8d812f1e02821826aa2b8aec9b910a8df8d3b280 /plugins/haskell/haskellplugin.cpp
parentb682f2b32716b6f3a60ee9b422041a358a36e86c (diff)
Provide snippet group
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;
}