Commit efb70121 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

shell: overwrite katectagsplugin to be disabled by default

parent bee988a1
...@@ -317,6 +317,13 @@ PluginController::PluginController(Core *core) ...@@ -317,6 +317,13 @@ PluginController::PluginController(Core *core)
d->plugins.reserve(d->plugins.size() + ktePlugins.size()); d->plugins.reserve(d->plugins.size() + ktePlugins.size());
for (const auto& info : ktePlugins) { for (const auto& info : ktePlugins) {
auto data = info.rawData(); auto data = info.rawData();
// temporary workaround for Kate's ctags plugin being enabled by default
// see https://mail.kde.org/pipermail/kwrite-devel/2019-July/004821.html
if (info.pluginId() == QLatin1String("katectagsplugin")) {
auto kpluginData = data[KEY_KPlugin()].toObject();
kpluginData[KEY_EnabledByDefault()] = false;
data[KEY_KPlugin()] = kpluginData;
}
// add some KDevelop specific JSON data // add some KDevelop specific JSON data
data[KEY_Category()] = KEY_Global(); data[KEY_Category()] = KEY_Global();
data[KEY_Mode()] = KEY_Gui(); data[KEY_Mode()] = KEY_Gui();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment