[Github-comments] [geany/geany] Let longest filename pattern set the filetype (#2167)
Nick Treleaven
notifications at xxxxx
Fri May 31 10:13:22 UTC 2019
Note: Depends on #2166.
Longer filename patterns in `filetype_extensions.conf` are more specific, so they should override shorter patterns.
* Fixes #1921 - `*.js.aspx` should override `*.aspx`.
* Fixes #1499 - `.bashrc` should override `*rc`.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2167
-- Commit Summary --
* Kill filetypes_find(), rename static function
* Always allow user filetype extensions to override system config file
* Let longest filename pattern win
-- File Changes --
M src/filetypes.c (62)
M src/filetypes.h (3)
M src/filetypesprivate.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/2167.patch
https://github.com/geany/geany/pull/2167.diff
--
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/pull/2167
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190531/17c73e51/attachment.html>
More information about the Github-comments
mailing list