[Github-comments] [geany/geany] Autodetect .bashrc as bash instead of Config (#1499)

elextr notifications at xxxxx
Sat May 20 02:58:15 UTC 2017


Maybe it was meant for some type (like gtkrc) that isn't exactly an INI file but thats the best built-in lexer for the job.  The `*rc` for conf has been that way since `filetype_extensions.conf` was first created in 2008 so what it was meant to cover is lost in the mists of time I'm afraid :smile:

Since its "first match wins" IIRC and conf comes before sh it wins.  It would be good for there to be a way of ordering from most specific match like `.bashrc` to least specific like `*rc` because I think there are some other pairs of extensions that clash but may be resolvable by specificity.

@dario2994 in the meantime you can just take the `*rc;` out of your copy by editing it with `Menu->Tools->Configuration Files->filetype_extensions.conf`.

-- 
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/1499#issuecomment-302846460
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170519/a0cf7f29/attachment.html>


More information about the Github-comments mailing list