Closed andy941 closed 7 months ago
Thank you for the PR!
I am at work now. I will try to have a look at it this evening or tomorrow and merge it asap.
Feel free to tackle any other small issue if you want to get more involved with Telekasten. We desperately need all the help we could get!
Thank you very much for your contribution! We are always looking for new contributors to the project. If you have time, do not hesitate to tackle other pending issues.
Proposed change
Allow the user to specify which clipboard program to use when pasting images from the clipboard.
Type of change
I refactored the code a little bit by putting all the clipboard commands in a lookup table. I also changed the docs.
P.S.: this is my first time making a contribution to a plugin and I am not familiar with lua so let me know if there are any issues. I tested a bunch of cases on my end and it seems to work well. On my machine the
xsel
executable produces empty files whilexclip
works like a charm.Additional information
Checklist
.stylua.toml
file is provided).luacheckrc
file is provided)README.md
has been updated according to this change.// not relevant?
doc/telekasten.txt
helpfile has been updated according to this change.