view src/testdir/test_comparators.vim @ 18114:90b0af9ba4ff v8.1.2052

patch 8.1.2052: using "x" before a closed fold may delete that fold Commit: https://github.com/vim/vim/commit/7a9bd7c1e0ce1baf5a02daf36eeae3638aa315c7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 17 22:42:55 2019 +0200 patch 8.1.2052: using "x" before a closed fold may delete that fold Problem: Using "x" before a closed fold may delete that fold. Solution: Do not translate 'x' do "dl". (Christian Brabandt, closes https://github.com/vim/vim/issues/4927)
author Bram Moolenaar <Bram@vim.org>
date Tue, 17 Sep 2019 22:45:05 +0200
parents 140d51d5b5c3
children 08940efa6b4e
line wrap: on
line source

function Test_Comparators()
  try
    let oldisident=&isident
    set isident+=#
    call assert_equal(1, 1 is#1)
  finally
    let &isident=oldisident
  endtry
endfunction