@Skif_off
Most of my requests for this program unfortunately cannot be solved with Lua, but if interested, this is the only one I have left that might be? I am not sure though.

Would Lua in this case be able to know the language/file type of the currently opened document, in order to know which divider to use?

I / the user would just need a small “template” for how to type in the file type / desired divider.

If something like this could actually be achieved with Lua/GeanyLua plugin, I imagine they would be "if" statements
something like

if "txt"
use
######################################

if "xml"
use

if "lua"
use
--#####################################

Then user would just assign a single keybinding to the Lua script and it would generate a divider based on the file type template/list from the Lua script.
As mentioned not sure though, this might be something that would require Geany plugin specifically for something like this?

If interested let me know.
Thank you again for all your help :)


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-plugins/issues/1384/2486735985@github.com>