mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
renamed sourceSuffixes to cppSourceSuffixes for clarity
This commit is contained in:
@@ -14,7 +14,7 @@ const SeerHighlighterSettings& SeerSourceHighlighter::highlighterSettings() {
|
||||
}
|
||||
|
||||
SeerSourceHighlighter* getSourceHighlighter(QString const& file, SeerHighlighterSettings settings) {
|
||||
QRegularExpression cpp_re("(?:" + settings.sourceSuffixes() + ")$");
|
||||
QRegularExpression cpp_re("(?:" + settings.cppSourceSuffixes() + ")$");
|
||||
if (file.contains(cpp_re)) {
|
||||
return new SeerCppSourceHighlighter(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user