summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index 45dde1f..c2020e1 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -1918,7 +1918,8 @@ bool FileDefImpl::isDocumentationFile() const
name().right(4)==".txt" ||
name().right(4)==".dox" ||
name().right(3)==".md" ||
- name().right(9)==".markdown";
+ name().right(9)==".markdown" ||
+ getLanguageFromFileName(getFileNameExtension(name())) == SrcLangExt_Markdown;
}
void FileDefImpl::acquireFileVersion()