torhve / weechat-matrix-protocol-script

A WeeChat script in Lua that implements the matrix.org chat protocol
349 stars 52 forks source link

Not using Weechat native option defaults #140

Open louib opened 5 years ago

louib commented 5 years ago

When displaying the default Weechat Matrix settings with /set plugins.var.lua.matrix.*, I get the full list of options, but the "native" default display (from Weechat I guess?) is not used.

Example:

plugins.var.lua.matrix.timeout: Time in seconds until a connection is assumed to be timed out (default: "5") [default: ""]

Here the (default: "5") is what is appended to the description from the script, and the [default: ""] is what's displayed for all the options probably by Weechat. I had a look at the WeeChat API and I don't see anything related to setting the defaults on options.