[Github-comments] [geany/geany] Add example to manual to illustrate use of GEANY_DEFAULT_FILETYPE_REGEX (PR #2947)

xiota notifications at xxxxx
Tue Nov 30 03:58:40 UTC 2021


@xiota commented on this pull request.



> @@ -2674,6 +2674,29 @@ Placeholder   Description
               useful if you're debugging color schemes or related code.
 ============  ===========================================================
 
+
+Filetype Regex
+``````````````
+
+The ``extract_filetype_regex`` setting contains the regex that is used
+to extract the filetype name from the file with the first capture group.
+The default value finds filetypes contained in Emacs-style tags.
+See `def_ft_regex`_.

Changed to refer to the keyfile.c section.  Also put the default regex and link back to Filetype Regex directly in the table.

-- 
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/2947#discussion_r758913134
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211129/adede978/attachment-0001.htm>


More information about the Github-comments mailing list