view src/testdir/test_comparators.vim @ 31323:a93392e93a53 v9.0.0995

patch 9.0.0995: padding before virtual text is highlighted Commit: https://github.com/vim/vim/commit/37f088eeade7972bce45b663adaba4bf102a9999 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 2 21:50:14 2022 +0000 patch 9.0.0995: padding before virtual text is highlighted Problem: Padding before virtual text below is highlighted when 'number' and 'nowrap' are set. Solution: Save and restore n_attr_skip. (closes #11643)
author Bram Moolenaar <Bram@vim.org>
date Fri, 02 Dec 2022 23:00: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