updated for version 7.3.221
Problem: Text from the clipboard is sometimes handled as linewise, but not
consistently.
Solution: Assume the text is linewise when it ends in a CR or NL.
diff --git a/src/ui.c b/src/ui.c
index 9d940b1..82d83d3 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1609,7 +1609,7 @@
#if defined(FEAT_HANGULIN) || defined(PROTO)
void
-push_raw_key (s, len)
+push_raw_key(s, len)
char_u *s;
int len;
{
@@ -2016,7 +2016,7 @@
long_u *length;
int *format;
{
- int motion_type;
+ int motion_type = MAUTO;
long_u len;
char_u *p;
char **text_list = NULL;
@@ -2036,7 +2036,6 @@
*(int *)success = FALSE;
return;
}
- motion_type = MCHAR;
p = (char_u *)value;
len = *length;
if (*type == vim_atom)