Summary: | Files named "makefile.cpp", "makefile.c", etc. are highlighted as Makefile by default | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | Igor Kushnir <igorkuo> |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | christoph, walter.von.entferndt |
Priority: | NOR | ||
Version First Reported In: | 5.84.0 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Igor Kushnir
2021-07-31 13:42:13 UTC
Perhaps we could just have a more restricted makefile.* wildcard, there are not that many real life suffixes in use like .in and .am and .inc. Patches welcome. (In reply to Christoph Cullmann from comment #1) > Perhaps we could just have a more restricted makefile.* wildcard, there are > not that many real life suffixes in use like .in and .am and .inc. > > Patches welcome. Searched "Makefile" on GitHub and immediately found lots of makefile extensions in use: https://github.com/LIVE-EMPIRE/LITZLERTOTO/blob/e6a17324850b7b85233e6f20fcaba4af8a99a493/Engine/Source/ThirdParty/libPNG/libPNG-1.5.2/scripts/README.txt. Can some Makefile extensions (i.e. C and C++ header/source extensions) be excluded somehow instead? (In reply to Igor Kushnir from comment #2) > (In reply to Christoph Cullmann from comment #1) > > Perhaps we could just have a more restricted makefile.* wildcard, there are > > not that many real life suffixes in use like .in and .am and .inc. > > > > Patches welcome. > Searched "Makefile" on GitHub and immediately found lots of makefile > extensions in use: > https://github.com/LIVE-EMPIRE/LITZLERTOTO/blob/ > e6a17324850b7b85233e6f20fcaba4af8a99a493/Engine/Source/ThirdParty/libPNG/ > libPNG-1.5.2/scripts/README.txt. Can some Makefile extensions (i.e. C and > C++ header/source extensions) be excluded somehow instead? That is not feasible with the current wildcard syntax. |