how to set 'destination' column to a string with lua plugin?

asked 2021-03-13 10:40:27 +0000

ranjeetsih gravatar image

updated 2021-03-13 10:42:21 +0000

I want to set 'destination' column to a string. I tried following but it did not help.

pinfo.cols.dst = "Hello"

Can it be done?

It works for 'info' column as follows:

pinfo.cols.info = "Hello"
edit retag flag offensive close merge delete

Comments

It should work -- I have a Lua plugin that does it successfully using exactly the code you posted.

Could you try to put together a smallest possible example of what doesn't work?

dd4235 gravatar imagedd4235 ( 2021-04-02 16:09:42 +0000 )edit