view src/testdir/test_comparators.vim @ 24000:bb2e921d2601 v8.2.2542

patch 8.2.2542: highlight of char beyond line end is not correct Commit: https://github.com/vim/vim/commit/41f0895c6e3c7b921e3c102ad42be52b1be48018 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 22 22:13:49 2021 +0100 patch 8.2.2542: highlight of char beyond line end is not correct Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo) Solution: Fix counting NUL as one cell. Draw one more character if the EOL is part of the match. (closes #7883)
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Feb 2021 22:15:03 +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