> [!IMPORTANT] > This issue was migrated from Trac: > > | **Origin** | https://midnight-commander.org/ticket/2323 | > | :------------- | :------------------------------------------------------------------------------------------------ | > | **Reporter** | `ossi` (@ossilator) | > | **Mentions** | `zaytsev` (@zyv) | opening the file makefile.cpp in the editor causes it to be highlighted with Makefile syntax instead of C++ syntax. the fix is checking the extension rules first. > [!NOTE] > Original attachments: > > * [0001-match-makefile-syntax-towards-the-end.patch](https://github.com/MidnightCommander/trac-archive/blob/master/attachments/ticket/2323/0001-match-makefile-syntax-towards-the-end.patch) ([raw](https://github.com/MidnightCommander/trac-archive/raw/master/attachments/ticket/2323/0001-match-makefile-syntax-towards-the-end.patch)) by `ossi` (@ossilator) on `Oct 8, 2020 at 22:29 UTC`
Important
This issue was migrated from Trac:
ossi(@ossilator)zaytsev(@zyv)opening the file makefile.cpp in the editor causes it to be highlighted with Makefile syntax instead of C++ syntax.
the fix is checking the extension rules first.
Note
Original attachments:
ossi(@ossilator) onOct 8, 2020 at 22:29 UTC