summaryrefslogtreecommitdiff
path: root/src/plugins/nim/settings/nimsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nim/settings/nimsettings.cpp')
-rw-r--r--src/plugins/nim/settings/nimsettings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/nim/settings/nimsettings.cpp b/src/plugins/nim/settings/nimsettings.cpp
index 40ac7b74a2..cd43df4849 100644
--- a/src/plugins/nim/settings/nimsettings.cpp
+++ b/src/plugins/nim/settings/nimsettings.cpp
@@ -80,6 +80,7 @@ NimSettings::NimSettings(QObject *parent)
m_globalCodeStyle->fromSettings(QLatin1String(Nim::Constants::C_NIMLANGUAGE_ID), s);
TextEditorSettings::registerMimeTypeForLanguageId(Nim::Constants::C_NIM_MIMETYPE, Nim::Constants::C_NIMLANGUAGE_ID);
+ TextEditorSettings::registerMimeTypeForLanguageId(Nim::Constants::C_NIM_SCRIPT_MIMETYPE, Nim::Constants::C_NIMLANGUAGE_ID);
}
NimSettings::~NimSettings()