view src/testdir/test_comparators.in @ 10998:2645a98217fa v8.0.0388

patch 8.0.0388: filtering lines changes folds commit https://github.com/vim/vim/commit/1159b168dd94c1a25b4284c6544de385855df6f6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 28 21:53:56 2017 +0100 patch 8.0.0388: filtering lines changes folds Problem: filtering lines through "cat", without changing the line count, changes manual folds. Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from neovim #6194.
author Christian Brabandt <cb@256bit.org>
date Tue, 28 Feb 2017 22:00:05 +0100
parents 5fc5c5bf2233
children
line wrap: on
line source

" Test for expression comparators.   vim: set ft=vim :


STARTTEST
:so small.vim
:try
:  let oldisident=&isident
:  set isident+=#
:  if 1 is#1
:    $put ='ok'
:  else
:    $put ='ng'
:  endif
:finally
:  let &isident=oldisident
:endtry
:"
:/^marker/+1,$wq! test.out
ENDTEST

marker