diff options
| author | Fredrik Foss-Indrehus <fredrikfoss@fr.urbanpets.no> | 2025-05-19 01:44:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-19 07:44:13 +0800 |
| commit | 3a35fdc3471e5f8fb6ad57b48abaa4e4db006de3 (patch) | |
| tree | 3d5fe2eb9d7d0bbdb3d08d92028e1d95278b5336 /runtime/lua/vim/_defaults.lua | |
| parent | a87aa68ed0e79389ba2e0b94a727f69303c62b71 (diff) | |
| download | rneovim-3a35fdc3471e5f8fb6ad57b48abaa4e4db006de3.tar.gz rneovim-3a35fdc3471e5f8fb6ad57b48abaa4e4db006de3.tar.bz2 rneovim-3a35fdc3471e5f8fb6ad57b48abaa4e4db006de3.zip | |
feat(clipboard): wayclip primary clipboard and correct mimetype (#33990)
* Don't specify wayclip mimetype
Problem: Since wayclip 0.2, wayclip assumes UTF-8
(text/plain;charset=utf-8) in absence of an explicit mimetype.
Since Neovim sets the mimetype to "text/plain" without
specifying UTF-8, you will also have to use `-t text/plain`
when using waypaste or wayclip outside of Neovim.
Solution: Don't specify mimetype when using wayclip, thereby using the
default "text/plain:charset=utf-8".
* Add primary clipboard support to wayclip
wayclip have had support for primary clipboard for some time now.
---------
Co-authored-by: Fredrik Foss-Indrehus <fred@ffoss.net>
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions