[Github-comments] [geany/geany-plugins] Project Organizer: Set header filetype to match source filetype (PR #1122)

xiota notifications at xxxxx
Thu Oct 28 21:52:25 UTC 2021


@xiota commented on this pull request.



> @@ -167,6 +307,7 @@ PluginCallback plugin_callbacks[] = {
 	{"document-open", (GCallback) & on_doc_open, TRUE, NULL},
 	{"document-activate", (GCallback) & on_doc_activate, TRUE, NULL},
 	{"document-close", (GCallback) & on_doc_close, TRUE, NULL},
+	{"document-filetype-set", (GCallback) & on_doc_filetype_set, TRUE, NULL},

I'm looking at the code again, and I guess I did try the document open signal. There must have been some race condition or something that prevented it from working all the time. I don't remember and will retry it by itself to see.

-- 
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-plugins/pull/1122#discussion_r738800377
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211028/8d5f7ed6/attachment.htm>


More information about the Github-comments mailing list