Ok, you can do it if you extend your own Geanylua. And since its unowned, why not :)
You C cod is passing a string as the filetype, it should be a pointer to the filetype structure, use [`filetypes_lookup_by_name()`](https://www.geany.org/manual/reference/filetypes_8h.html#aa2a53fa0c2f4362d9a5e6eb01839c5a5) to get it from the string. -- 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/issues/646#issuecomment-345489659