view src/testdir/test_comparators.vim @ 22985:d768cdd50602 v8.2.2039

patch 8.2.2039: viminfo is not written when creating a new file Commit: https://github.com/vim/vim/commit/8e6be34338f13a6a625f19bcef82019c9adc65f2 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 23 22:01:26 2020 +0100 patch 8.2.2039: viminfo is not written when creating a new file Problem: Viminfo is not written when creating a new file. Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt, closes #7350)
author Bram Moolenaar <Bram@vim.org>
date Mon, 23 Nov 2020 22:15:05 +0100
parents 08940efa6b4e
children
line wrap: on
line source

" Test for comparators

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

" vim: shiftwidth=2 sts=2 expandtab