Language detection fails for CMakeLists.txt files
Using Builder nightly as a flatpak, language detection (and thus syntax highlight) seems to be failing for
CMakeLists.txt files while it works just fine with any other
Example with the
- Open the module sources in Builder
- Open the root
CMakeLists.txtfile: no highlight mode set,
CMakelanguage was not detected.
- Open the
cmake/modules/CheckTarget.cmakefile: syntax is highlighted,
CMakelanguage was detected.
Language detection works just fine for both files using
gedit (also reling on
flatpak info org.gnome.Builder//master
ID: org.gnome.Builder Ref: app/org.gnome.Builder/x86_64/master Arch: x86_64 Branch: master Version: 3.34.0 License: GPL-3.0+ and GPL-2.0+ and LGPL-3.0+ and LGPL-2.0+ and MIT Origin: gnome-apps-nightly Collection: Installation: user Installed: 118,5 MB Runtime: org.gnome.Sdk/x86_64/master Sdk: org.gnome.Sdk/x86_64/master Commit: 26825cc184a80808bfd062320d10da63d9119c89d7e144c00c9ad6f832adaf98 Parent: de377b6620892c51f0f2706d40feff9601a538bf79c8c8d25738a18495893438 Subject: Build of org.gnome.Builder, Tue Sep 10 15:31:39 UTC 2019 Date: 2019-09-10 15:51:44 +0000