Hi Bram and Vim addicts :-)

How to reproduce. (I checked Vim 7.4.728 on fedora 20 via PuTTY 0.64)
- Start Vim and conceallevel=1
  $ vim -u NONE -i NONE -N -c 'set conceallevel=1'
- Display command-line window
  q:
- Cancel command-line window
  CTRL-C

Expected behavior.
- Cursor move to command-line and displayed command-line window very well.

Actual behavior.
- Command-line window first character(:) was erased.


I attached a patch.
Please check and include this.

--
Best regards,
Hirohito Higashi (a.k.a h_east)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/ex_getln.c b/src/ex_getln.c
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -6611,6 +6611,10 @@
 	/* Don't execute autocommands while deleting the window. */
 	block_autocmds();
 # endif
+# ifdef FEAT_CONCEAL
+	/* Avoid command-line window first character erasure. */
+	curwin->w_p_cole = 0;
+# endif
 	wp = curwin;
 	bp = curbuf;
 	win_goto(old_curwin);

Raspunde prin e-mail lui