Revert "Make pasting multiple lines from clipboard same way as a single line"
This reverts commit 6a135f7c06
.
This commit is contained in:
parent
6a135f7c06
commit
7381a13d6f
|
@ -135,7 +135,7 @@ local commands = {
|
||||||
whole_line = core.cursor_clipboard_whole_line[idx] == true
|
whole_line = core.cursor_clipboard_whole_line[idx] == true
|
||||||
else
|
else
|
||||||
value = clipboard
|
value = clipboard
|
||||||
whole_line = false
|
whole_line = clipboard:find("\n") ~= nil
|
||||||
end
|
end
|
||||||
if whole_line then
|
if whole_line then
|
||||||
doc():insert(line1, 1, value:gsub("\r", ""))
|
doc():insert(line1, 1, value:gsub("\r", ""))
|
||||||
|
|
Loading…
Reference in New Issue