Closed dsawardekar closed 11 years ago
Ranges are supported for function definitions. To get this exact viml
output, you could do
def n:MyFilter() range
end
or even:
function! n:MyFilter() range
endfunction
Thanks!
Hah, should have tested that! Thanks.
I have a function that filters lines based on the current range. The range typically corresponds to a visual mode selection but could be a manual one. To create such a filter function I need a
viml
function such as below,Is there a
riml
equivalent of the same?