diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-10-05 15:23:19 +0200 |
|---|---|---|
| committer | Randy Palamar <palamar@ualberta.ca> | 2023-10-05 08:42:30 -0600 |
| commit | 7445c336c7cbd5676c6291286eb2cd55097d7113 (patch) | |
| tree | 9c3482dd44f10e20b5a2ac4a1f9b0dcd402653ae /view.c | |
| parent | 3d83d7716926a7296bbb0d6bb59371a9a5d66955 (diff) | |
| download | vis-7445c336c7cbd5676c6291286eb2cd55097d7113.tar.gz vis-7445c336c7cbd5676c6291286eb2cd55097d7113.tar.xz | |
fix literal makefile name detection
The current literal file name detection for GNUmakefile, makefile
or Makefile could match anywhere in the file name.
For example the file type of `makefile.lua` (the name of our makefile lexer)
was detected as makefile.
This is fixed by requiring the literal patterns to start and end with
the string.
Diffstat (limited to 'view.c')
0 files changed, 0 insertions, 0 deletions
