summaryrefslogtreecommitdiff
path: root/src/testdir/test_highlight.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-29 20:59:17 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-29 20:59:17 +0200
commit391c36279415d0b8c5dba1ba11b668add04be963 (patch)
tree963cacdf2fa296fba4e1e3c1a52e0b9d0dad5a08 /src/testdir/test_highlight.vim
parentd569a9e74684cd17f9cea63e804281388728e513 (diff)
downloadvim-git-391c36279415d0b8c5dba1ba11b668add04be963.tar.gz
patch 8.2.1771: synIDattr() cannot get the value of ctermulv8.2.1771
Problem: synIDattr() cannot get the value of ctermul. Solution: Add the "ul" value for "what". (closes #7037)
Diffstat (limited to 'src/testdir/test_highlight.vim')
-rw-r--r--src/testdir/test_highlight.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_highlight.vim b/src/testdir/test_highlight.vim
index 05f215ae3..8bd03e2da 100644
--- a/src/testdir/test_highlight.vim
+++ b/src/testdir/test_highlight.vim
@@ -808,6 +808,7 @@ func Test_highlight_ctermul()
call assert_notmatch('ctermul=', HighlightArgs('Normal'))
highlight Normal ctermul=3
call assert_match('ctermul=3', HighlightArgs('Normal'))
+ call assert_equal('3', synIDattr(synIDtrans(hlID('Normal')), 'ul'))
highlight Normal ctermul=NONE
endfunc