Filtering a line which is currently folded results in the whole fold being 
filtered. For example, take a 2-line file like below with set foldmethod=marker:

one {{{1
two

Issuing the command ':2!echo "foo"', when the fold is open works as expected, 
the line 'two' is replaced with 'foo'.

When the fold is closed, after issuing the command both lines are replaced with 
a single line 'foo'.

Is this a bug or a feature? If the latter, how can I make the filtering work as 
expected, when folds are closed?

(I'm using vim 7.4.273 from Debian)

Best,
Teemu

-- 
-- 
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.

Raspunde prin e-mail lui