Of course I forgot the patch. Sorry for the noise.

On 2016-11-03 22:57, Nelo-Thara Wallus wrote:
> The attached patch fixes the quoting of arguments for ex commands in
> keyworgprg, issue #1175 in github.
>
> See github for a summary of the issue[1].
>
> Thanks,
> Nelo
>
> [1]: https://github.com/vim/vim/issues/1175
>
> --
> /"\  ASCII Ribbon Campaign
> \ /  - against HTML emails
>  X   - against proprietory attachments
> / \  http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
>
> --
> 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.

--
/"\  ASCII Ribbon Campaign
\ /  - against HTML emails
 X   - against proprietory attachments
/ \  http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

-- 
-- 
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.
>From 2462ed3bde8cd10ee9aeb1d4645b61150a368726 Mon Sep 17 00:00:00 2001
From: Nelo Wallus <[email protected]>
Date: Thu, 3 Nov 2016 22:27:31 +0100
Subject: [PATCH] Fix keywordprg handling - Issue #1175 on github

---
 src/normal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/normal.c b/src/normal.c
index 99ced41..3d9e22e 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -5711,7 +5711,7 @@ nv_ident(cmdarg_T *cap)
     /*
      * Now grab the chars in the identifier
      */
-    if (cmdchar == 'K' && !kp_help)
+    if (cmdchar == 'K' && !kp_help && !kp_ex)
     {
 	/* Escape the argument properly for a shell command */
 	ptr = vim_strnsave(ptr, n);
-- 
2.10.1

Raspunde prin e-mail lui