Home
last modified time | relevance | path

Searched refs:hlID (Results 1 – 15 of 15) sorted by relevance

/vim-8.2.3635/src/testdir/
H A Dtest_syn_attr.vim5 call assert_equal('Mine', synIDattr(hlID("Mine"), "name"))
6 call assert_equal('', synIDattr("Mine"->hlID(), "bg", 'term'))
7 call assert_equal('', synIDattr("Mine"->hlID(), "fg", 'term'))
8 call assert_equal('', synIDattr("Mine"->hlID(), "sp", 'term'))
9 call assert_equal('1', synIDattr(hlID("Mine"), "bold", 'term'))
10 call assert_equal('1', synIDattr(hlID("Mine"), "italic", 'cterm'))
12 call assert_equal('1', synIDattr(hlID("Mine"), "reverse", 'term'))
13 call assert_equal('1', synIDattr(hlID("Mine"), "inverse", 'cterm'))
21 call assert_equal('', synIDattr(hlID("Mine"), "bold", 'term'))
22 call assert_equal('', synIDattr(hlID("Mine"), "italic", 'cterm'))
[all …]
H A Dtest_highlight.vim846 let aaa_id = hlID('aaa')
851 let id_aaa = hlID('aaa')
864 let id_ccc = hlID('ccc')
871 let id_ddd = hlID('ddd')
877 let eee_id = hlID('eee')
1103 VAR id = hlID('myhlg1')
1167 VAR id4 = hlID('hlg4')
1174 VAR id5 = hlID('hlg5')
1180 VAR id6 = hlID('hlg6')
1192 VAR id7 = hlID('hlg7')
[all …]
H A Dtest_syntax.vim428 call assert_equal('Foo', synIDattr(hlID("Foo"), "name"))
432 call assert_equal('Foo', synIDattr(hlID("Foo"), "name"))
437 call assert_equal('Foo', synIDattr(hlID("Foo"), "name"))
H A Dtest_vim9_builtin.vim1713 …CheckDefAndScriptFailure2(['hlID(10)'], 'E1013: Argument 1: type mismatch, expected string but got…
1714 assert_equal(0, hlID('NonExistingHighlight'))
1715 hlID('')->assert_equal(0)
/vim-8.2.3635/src/
H A Ddiff.c3318 static hlf_T hlID = (hlf_T)0; in f_diff_hlID() local
3343 hlID = HLF_ADD; // added line in f_diff_hlID()
3345 hlID = HLF_CHD; // changed line in f_diff_hlID()
3348 hlID = HLF_ADD; // added line in f_diff_hlID()
3351 hlID = (hlf_T)0; in f_diff_hlID()
3357 if (hlID == HLF_CHD || hlID == HLF_TXD) in f_diff_hlID()
3361 hlID = HLF_TXD; // changed text in f_diff_hlID()
3363 hlID = HLF_CHD; // changed line in f_diff_hlID()
3365 rettv->vval.v_number = hlID == (hlf_T)0 ? 0 : (int)hlID; in f_diff_hlID()
/vim-8.2.3635/runtime/syntax/
H A D2html.vim54 let s:FOLDED_ID = hlID("Folded") | lockvar s:FOLDED_ID
55 let s:FOLD_C_ID = hlID("FoldColumn") | lockvar s:FOLD_C_ID
56 let s:LINENR_ID = hlID('LineNr') | lockvar s:LINENR_ID
57 let s:DIFF_D_ID = hlID("DiffDelete") | lockvar s:DIFF_D_ID
58 let s:DIFF_A_ID = hlID("DiffAdd") | lockvar s:DIFF_A_ID
59 let s:DIFF_C_ID = hlID("DiffChange") | lockvar s:DIFF_C_ID
60 let s:DIFF_T_ID = hlID("DiffText") | lockvar s:DIFF_T_ID
61 let s:CONCEAL_ID = hlID('Conceal') | lockvar s:CONCEAL_ID
1040 if hlID("TOhtmlProgress") != 0
1042 elseif hlID("TOhtmlProgress_auto")==0 ||
[all …]
H A Dvim.vim82 … getcwd getftype getmatches getreginfo gettagstack getwinposy has histdel hlID index inputsave isd…
/vim-8.2.3635/runtime/indent/
H A Deruby.vim99 \ && synID(v:lnum, match(cline, '\S') + 1, 1) != hlID('htmlEndTag')
H A Druby.vim83 … \ 'index(map('.string(s:syng_strcom).',"hlID(''ruby''.v:val)"), synID(line("."),col("."),1)) >= 0'
699 let ids = map(copy(a:groups), 'hlID("ruby".v:val)')
/vim-8.2.3635/runtime/ftplugin/
H A Deruby.vim128 …let groups = map(['erubyBlock', 'erubyComment', 'erubyExpression', 'erubyOneLiner'], 'hlID(v:val)')
H A Druby.vim293 call map(a:syn, 'hlID(v:val)')
376 if s:synid() ==# hlID('rubyConstant')
/vim-8.2.3635/runtime/doc/
H A Dusr_41.txt930 hlID() get ID of a highlight group
H A Deval.txt2734 hlID({name}) Number syntax ID of highlight group {name}
6845 *hlID()*
6846 hlID({name}) The result is a Number, which is the ID of the highlight group
6852 :echo synIDattr(synIDtrans(hlID("Comment")), "bg")
6857 GetName()->hlID()
H A Dtags7380 hlID() eval.txt /*hlID()*
H A Dversion5.txt2266 highlightID() -> hlID()