Mercurial > vim
comparison src/testdir/test_syn_attr.vim @ 29540:9b8ab82e3b0b v9.0.0111
patch 9.0.0111: "nocombine" is missing from synIDattr()
Commit: https://github.com/vim/vim/commit/de78632c41d870d5254e9ccd285f53674b955f4e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 30 14:56:17 2022 +0100
patch 9.0.0111: "nocombine" is missing from synIDattr()
Problem: "nocombine" is missing from synIDattr().
Solution: Add "nocombine". (Muni Tanjim, closes https://github.com/vim/vim/issues/10816)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Jul 2022 16:00:02 +0200 |
parents | 60977de70684 |
children |
comparison
equal
deleted
inserted
replaced
29539:73c769741c52 | 29540:9b8ab82e3b0b |
---|---|
20 hi Mine term=underdouble cterm=underdotted gui=underdashed | 20 hi Mine term=underdouble cterm=underdotted gui=underdashed |
21 call assert_equal('1', synIDattr(hlID("Mine"), "underdouble", 'term')) | 21 call assert_equal('1', synIDattr(hlID("Mine"), "underdouble", 'term')) |
22 call assert_equal('1', synIDattr(hlID("Mine"), "underdotted", 'cterm')) | 22 call assert_equal('1', synIDattr(hlID("Mine"), "underdotted", 'cterm')) |
23 call assert_equal('1', synIDattr("Mine"->hlID(), "underdashed", 'gui')) | 23 call assert_equal('1', synIDattr("Mine"->hlID(), "underdashed", 'gui')) |
24 | 24 |
25 hi Mine gui=strikethrough | 25 hi Mine term=nocombine gui=strikethrough |
26 call assert_equal('1', synIDattr(hlID("Mine"), "strikethrough", 'gui')) | 26 call assert_equal('1', synIDattr(hlID("Mine"), "strikethrough", 'gui')) |
27 call assert_equal('1', synIDattr(hlID("Mine"), "nocombine", 'term')) | |
28 call assert_equal('', synIDattr(hlID("Mine"), "nocombine", 'gui')) | |
27 hi Mine term=NONE cterm=NONE gui=NONE | 29 hi Mine term=NONE cterm=NONE gui=NONE |
28 call assert_equal('', synIDattr(hlID("Mine"), "bold", 'term')) | 30 call assert_equal('', synIDattr(hlID("Mine"), "bold", 'term')) |
29 call assert_equal('', synIDattr(hlID("Mine"), "italic", 'cterm')) | 31 call assert_equal('', synIDattr(hlID("Mine"), "italic", 'cterm')) |
30 call assert_equal('', synIDattr(hlID("Mine"), "reverse", 'term')) | 32 call assert_equal('', synIDattr(hlID("Mine"), "reverse", 'term')) |
31 call assert_equal('', synIDattr(hlID("Mine"), "inverse", 'cterm')) | 33 call assert_equal('', synIDattr(hlID("Mine"), "inverse", 'cterm')) |