[Github-comments] [geany/geany] Geany does pick up the correct filetype extension for syntax highlighting. (#1657)

rovf notifications at xxxxx
Mon Oct 23 08:58:48 UTC 2017


Using Geany 1.30.1 on Windows 7:

In order to recognize files such as .irbrc or private_irbrc as a Ruby files when it comes to syntax highlighting, I have opened Tools/ConfigurationFiles/filetypes_configuration.conf and changed the line for the Ruby file extensions to

    Ruby=*.rb;*.rhtml;*.ruby;*.gemspec;Gemfile;rakefile;Rakefile;*irbrc;.irbrc;

However, the file .irbrc is still not considered as Ruby-File, but as file of type "Conf". Looking up the definition of the "Conf" file type, I find the line

    Conf=*.conf;*.ini;config;*rc;*.cfg;*.desktop;*.properties;

This doesn't make sense! The file name ".irbrc" obviously does *not* match any of the pattern in the "Conf" definition! Why is Geany picking up the wrong file type here?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1657
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171023/04438bc9/attachment.html>


More information about the Github-comments mailing list