Lines Matching refs:group
217 call assert_equal('"sign place 1 buffer= file= group= line= name= priority=',
225 sign place 1 name=Sign1 group=g1 line=10
227 sign place 1 name=Sign2 group=g2 line=15
229 " Test for completion of group= and file= arguments to ':sign place'
232 call feedkeys(":sign place 1 name=Sign1 group=\<C-A>\<C-B>\"\<CR>", 'tx')
233 call assert_equal('"sign place 1 name=Sign1 group=g1 g2', @:)
237 call assert_equal('"sign place buffer= file= group=', @:)
240 call feedkeys(":sign place group=\<C-A>\<C-B>\"\<CR>", 'tx')
241 call assert_equal('"sign place group=g1 g2', @:)
242 call feedkeys(":sign place group=g1 file=\<C-A>\<C-B>\"\<CR>", 'tx')
243 call assert_equal('"sign place group=g1 file=XsignOne XsignTwo', @:)
247 call assert_equal('"sign unplace 1 buffer= file= group=', @:)
250 call feedkeys(":sign unplace 1 group=\<C-A>\<C-B>\"\<CR>", 'tx')
251 call assert_equal('"sign unplace 1 group=g1 g2', @:)
252 call feedkeys(":sign unplace 1 group=g2 file=Xsign\<C-A>\<C-B>\"\<CR>", 'tx')
253 call assert_equal('"sign unplace 1 group=g2 file=XsignOne XsignTwo', @:)
261 call assert_equal('"sign jump 1 buffer= file= group=', @:)
264 call feedkeys(":sign jump 1 group=\<C-A>\<C-B>\"\<CR>", 'tx')
265 call assert_equal('"sign jump 1 group=g1 g2', @:)
281 sign unplace * group=*
304 call assert_fails('sign jump 1 group=', 'E474:')
348 " Placing a sign with only sign group
349 call assert_fails("sign place 5 group=g1", 'E474:')
350 call assert_fails("sign place 5 group=*", 'E474:')
432 \ [{'id' : 10, 'group' : '', 'lnum' : 20, 'name' : 'sign1',
435 \ [{'id' : 10, 'group' : '', 'lnum' : 20, 'name' : 'sign1',
439 \ [{'id' : 10, 'group' : '', 'lnum' : 20, 'name' : 'sign1',
472 \ [{'id' : 10, 'group' : '', 'lnum' : 20, 'name' : 'sign1',
476 \ [{'id' : 10, 'group' : '', 'lnum' : 20, 'name' : 'sign1',
513 \ [{'id' : 15, 'group' : '', 'lnum' : 20, 'name' : 'sign2',
529 \ [{'id' : 15, 'group' : '', 'lnum' : 22, 'name' : 'sign1',
558 " place three signs with the same identifier. One in the global group and
565 " Test for sign_getplaced() with group
568 call assert_equal(s[0].signs[0].group, '')
569 let s = sign_getplaced(bnum, {'group' : ''})
570 call assert_equal([{'id' : 5, 'group' : '', 'name' : 'sign1', 'lnum' : 10,
573 let s = sign_getplaced(bnum, {'group' : 'g2'})
574 call assert_equal('g2', s[0].signs[0].group)
575 let s = sign_getplaced(bnum, {'group' : 'g3'})
577 let s = sign_getplaced(bnum, {'group' : '*'})
578 call assert_equal([{'id' : 5, 'group' : '', 'name' : 'sign1', 'lnum' : 10,
580 \ {'id' : 5, 'group' : 'g1', 'name' : 'sign1', 'lnum' : 20,
582 \ {'id' : 5, 'group' : 'g2', 'name' : 'sign1', 'lnum' : 30,
588 call assert_equal([{'id' : 5, 'group' : '', 'name' : 'sign1', 'lnum' : 10,
591 let s = sign_getplaced(bnum, {'id' : 5, 'group' : 'g2'})
593 \ [{'id' : 5, 'name' : 'sign1', 'lnum' : 30, 'group' : 'g2',
596 let s = sign_getplaced(bnum, {'id' : 5, 'group' : '*'})
597 call assert_equal([{'id' : 5, 'group' : '', 'name' : 'sign1', 'lnum' : 10,
599 \ {'id' : 5, 'group' : 'g1', 'name' : 'sign1', 'lnum' : 20,
601 \ {'id' : 5, 'group' : 'g2', 'name' : 'sign1', 'lnum' : 30,
604 let s = sign_getplaced(bnum, {'id' : 5, 'group' : 'g3'})
610 let s = sign_getplaced(bnum, {'lnum' : 20, 'group' : 'g1'})
612 \ [{'id' : 5, 'name' : 'sign1', 'lnum' : 20, 'group' : 'g1',
615 let s = sign_getplaced(bnum, {'lnum' : 30, 'group' : '*'})
617 \ [{'id' : 5, 'name' : 'sign1', 'lnum' : 30, 'group' : 'g2',
620 let s = sign_getplaced(bnum, {'lnum' : 40, 'group' : '*'})
624 call assert_fails("call sign_getplaced(bnum, {'group' : []})",
627 " Clear the sign in global group
629 let s = sign_getplaced(bnum, {'group' : '*'})
631 \ {'id' : 5, 'name' : 'sign1', 'lnum' : 20, 'group' : 'g1',
633 \ {'id' : 5, 'name' : 'sign1', 'lnum' : 30, 'group' : 'g2',
639 let s = sign_getplaced(bnum, {'group' : '*'})
641 \ {'id' : 5, 'name' : 'sign1', 'lnum' : 30, 'group' : 'g2',
647 call assert_equal([], sign_getplaced(bnum, {'group' : '*'})[0].signs)
654 call assert_equal([], sign_getplaced(bnum, {'group' : '*'})[0].signs)
659 " Place a sign in the global group and try to delete it using a group
664 " group
672 let s = sign_getplaced(bnum, {'group' : 'g1'})
676 let s = sign_getplaced(bnum, {'group' : 'g2'})
677 call assert_equal('g2', s[0].signs[0].group)
680 let s = sign_getplaced(bnum, {'group' : 'g2'})
681 call assert_equal('g2', s[0].signs[0].group)
688 sign place 5 group=g1 line=10 name=sign1 file=Xsign
689 sign place 5 group=g2 line=10 name=sign1 file=Xsign
698 " :sign place group={group} file={fname}
699 let a = execute('sign place group=g2 file=Xsign')
701 \ " line=10 id=5 group=g2 name=sign1 priority=10\n", a)
703 " :sign place group=* file={fname}
704 let a = execute('sign place group=* file=Xsign')
706 \ " line=10 id=5 group=g2 name=sign1 priority=10\n" .
707 \ " line=10 id=5 group=g1 name=sign1 priority=10\n" .
710 " Error case: non-existing group
711 let a = execute('sign place group=xyz file=Xsign')
717 exe 'sign place 5 group=g1 line=11 name=sign1 buffer=' . bnum
718 exe 'sign place 5 group=g2 line=12 name=sign1 buffer=' . bnum
725 " :sign place group={group} buffer={fname}
726 let a = execute('sign place group=g2 buffer=' . bnum)
728 \ " line=12 id=5 group=g2 name=sign1 priority=10\n", a)
730 " :sign place group=* buffer={fname}
731 let a = execute('sign place group=* buffer=' . bnum)
734 \ " line=11 id=5 group=g1 name=sign1 priority=10\n" .
735 \ " line=12 id=5 group=g2 name=sign1 priority=10\n", a)
737 " Error case: non-existing group
738 let a = execute('sign place group=xyz buffer=' . bnum)
758 " :sign place group={group}
759 let a = execute('sign place group=g1')
761 \ " line=11 id=5 group=g1 name=sign1 priority=10\n", a)
763 " :sign place group=*
764 let a = execute('sign place group=*')
767 \ " line=11 id=5 group=g1 name=sign1 priority=10\n" .
768 \ " line=12 id=5 group=g2 name=sign1 priority=10\n", a)
771 sign jump 5 group=g1 file=Xsign
774 sign jump 5 group=g2 file=Xsign
780 sign jump 5 group=g1
784 call assert_fails("sign place 3 group= name=sign1 buffer=" . bnum, 'E474:')
797 sign place 3 group=g1 line=11 name=sign1 file=Xsign1
798 sign place 3 group=g2 line=12 name=sign1 file=Xsign1
800 sign place 4 group=g1 line=16 name=sign1 file=Xsign1
801 sign place 4 group=g2 line=17 name=sign1 file=Xsign1
803 sign place 5 group=g1 line=21 name=sign1 file=Xsign2
804 sign place 5 group=g2 line=22 name=sign1 file=Xsign2
806 sign place 6 group=g1 line=26 name=sign1 file=Xsign2
807 sign place 6 group=g2 line=27 name=sign1 file=Xsign2
814 sign place 3 group=g1 line=13 name=sign1 file=Xsign1
815 sign place 3 group=g2 line=13 name=sign1 file=Xsign1
817 sign place 4 group=g1 line=13 name=sign1 file=Xsign1
818 sign place 4 group=g2 line=13 name=sign1 file=Xsign1
840 let signs1 = [{'id' : 3, 'name' : 'sign1', 'lnum' : 10, 'group' : '',
842 \ {'id' : 3, 'name' : 'sign1', 'lnum' : 11, 'group' : 'g1',
844 \ {'id' : 3, 'name' : 'sign1', 'lnum' : 12, 'group' : 'g2',
846 \ {'id' : 4, 'name' : 'sign1', 'lnum' : 15, 'group' : '',
848 \ {'id' : 4, 'name' : 'sign1', 'lnum' : 16, 'group' : 'g1',
850 \ {'id' : 4, 'name' : 'sign1', 'lnum' : 17, 'group' : 'g2',
852 let signs2 = [{'id' : 5, 'name' : 'sign1', 'lnum' : 20, 'group' : '',
854 \ {'id' : 5, 'name' : 'sign1', 'lnum' : 21, 'group' : 'g1',
856 \ {'id' : 5, 'name' : 'sign1', 'lnum' : 22, 'group' : 'g2',
858 \ {'id' : 6, 'name' : 'sign1', 'lnum' : 25, 'group' : '',
860 \ {'id' : 6, 'name' : 'sign1', 'lnum' : 26, 'group' : 'g1',
862 \ {'id' : 6, 'name' : 'sign1', 'lnum' : 27, 'group' : 'g2',
871 \ {idx, val -> val.id != 3 || val.group != ''}),
872 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
875 \ {idx, val -> val.id != 6 || val.group != ''}),
876 \ sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
878 " Test for :sign unplace {id} group={group} file={fname}
880 sign unplace 4 group=g1 file=Xsign1
881 sign unplace 5 group=g2 file=Xsign2
884 \ {idx, val -> val.id != 4 || val.group != 'g1'}),
885 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
888 \ {idx, val -> val.id != 5 || val.group != 'g2'}),
889 \ sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
891 " Test for :sign unplace {id} group=* file={fname}
893 sign unplace 3 group=* file=Xsign1
894 sign unplace 6 group=* file=Xsign2
898 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
902 \ sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
909 \ {idx, val -> val.group != ''}),
910 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
911 call assert_equal(signs2, sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
913 " Test for :sign unplace * group={group} file={fname}
915 sign unplace * group=g1 file=Xsign1
916 sign unplace * group=g2 file=Xsign2
919 \ {idx, val -> val.group != 'g1'}),
920 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
923 \ {idx, val -> val.group != 'g2'}),
924 \ sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
926 " Test for :sign unplace * group=* file={fname}
928 sign unplace * group=* file=Xsign2
929 call assert_equal(signs1, sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
930 call assert_equal([], sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
938 \ {idx, val -> val.id != 3 || val.group != ''}),
939 \ sign_getplaced(bnum1, {'group' : '*'})[0].signs)
942 \ {idx, val -> val.id != 6 || val.group != ''}),
943 \ sign_getplaced(bnum2, {'group' : '*'})[0].signs)
945 " Test for :sign unplace {id} group={group} buffer={nr}
947 exe 'sign unplace 4 group=g1 buffer=' . bnum1
948 exe 'sign unplace 5 group=g2 buffer=' . bnum2
951 \ {idx, val -> val.id != 4 || val.group != 'g1'}),
952 \ sign_getplaced(bnum1, {'group' : '*'})[0].signs)
955 \ {idx, val -> val.id != 5 || val.group != 'g2'}),
956 \ sign_getplaced(bnum2, {'group' : '*'})[0].signs)
958 " Test for :sign unplace {id} group=* buffer={nr}
960 exe 'sign unplace 3 group=* buffer=' . bnum1
961 exe 'sign unplace 6 group=* buffer=' . bnum2
965 \ sign_getplaced(bnum1, {'group' : '*'})[0].signs)
969 \ sign_getplaced(bnum2, {'group' : '*'})[0].signs)
976 \ {idx, val -> val.group != ''}),
977 \ sign_getplaced(bnum1, {'group' : '*'})[0].signs)
978 call assert_equal(signs2, sign_getplaced(bnum2, {'group' : '*'})[0].signs)
980 " Test for :sign unplace * group={group} buffer={nr}
982 exe 'sign unplace * group=g1 buffer=' . bnum1
983 exe 'sign unplace * group=g2 buffer=' . bnum2
986 \ {idx, val -> val.group != 'g1'}),
987 \ sign_getplaced(bnum1, {'group' : '*'})[0].signs)
990 \ {idx, val -> val.group != 'g2'}),
991 \ sign_getplaced(bnum2, {'group' : '*'})[0].signs)
993 " Test for :sign unplace * group=* buffer={nr}
995 exe 'sign unplace * group=* buffer=' . bnum2
996 call assert_equal(signs1, sign_getplaced(bnum1, {'group' : '*'})[0].signs)
997 call assert_equal([], sign_getplaced(bnum2, {'group' : '*'})[0].signs)
1005 \ {idx, val -> val.id != 4 || val.group != ''}),
1006 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1009 \ {idx, val -> val.id != 6 || val.group != ''}),
1010 \ sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
1012 " Test for :sign unplace {id} group={group}
1014 sign unplace 4 group=g1
1015 sign unplace 6 group=g2
1018 \ {idx, val -> val.id != 4 || val.group != 'g1'}),
1019 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1022 \ {idx, val -> val.id != 6 || val.group != 'g2'}),
1023 \ sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
1025 " Test for :sign unplace {id} group=*
1027 sign unplace 3 group=*
1028 sign unplace 5 group=*
1032 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1036 \ sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
1043 \ {idx, val -> val.group != ''}),
1044 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1047 \ {idx, val -> val.group != ''}),
1048 \ sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
1050 " Test for :sign unplace * group={group}
1052 sign unplace * group=g1
1055 \ {idx, val -> val.group != 'g1'}),
1056 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1059 \ {idx, val -> val.group != 'g1'}),
1060 \ sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
1062 " Test for :sign unplace * group=*
1064 sign unplace * group=*
1065 call assert_equal([], sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1066 call assert_equal([], sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
1070 sign unplace 3 group=xy file=Xsign1
1071 sign unplace * group=xy file=Xsign1
1072 silent! sign unplace * group=* file=FileNotPresent
1073 call assert_equal(signs1, sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1074 call assert_equal(signs2, sign_getplaced('Xsign2', {'group' : '*'})[0].signs)
1079 let signs1 = [{'id' : 4, 'name' : 'sign1', 'lnum' : 13, 'group' : 'g2',
1081 \ {'id' : 4, 'name' : 'sign1', 'lnum' : 13, 'group' : 'g1',
1083 \ {'id' : 4, 'name' : 'sign1', 'lnum' : 13, 'group' : '',
1085 \ {'id' : 3, 'name' : 'sign1', 'lnum' : 13, 'group' : 'g2',
1087 \ {'id' : 3, 'name' : 'sign1', 'lnum' : 13, 'group' : 'g1',
1089 \ {'id' : 3, 'name' : 'sign1', 'lnum' : 13, 'group' : '',
1094 " Should remove only one sign in the global group
1099 \ {idx, val -> val.id != 4 || val.group != ''}),
1100 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1101 " Should remove the second sign in the global group
1105 \ {idx, val -> val.group != ''}),
1106 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1108 " Test for ':sign unplace group={group}'
1110 " Should remove only one sign in group g1
1111 sign unplace group=g1
1114 \ {idx, val -> val.id != 4 || val.group != 'g1'}),
1115 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1116 sign unplace group=g2
1119 \ {idx, val -> val.id != 4 || val.group == ''}),
1120 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1122 " Test for ':sign unplace group=*'
1124 sign unplace group=*
1125 sign unplace group=*
1126 sign unplace group=*
1130 \ sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1131 sign unplace group=*
1132 sign unplace group=*
1133 sign unplace group=*
1134 call assert_equal([], sign_getplaced('Xsign1', {'group' : '*'})[0].signs)
1167 " Check for the next generated sign id in this group
1200 let s = sign_getplaced('Xsign', {'group' : '*'})
1202 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 11, 'group' : 'g2',
1204 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 11, 'group' : 'g1',
1206 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 11, 'group' : '',
1225 let s = sign_getplaced('Xsign', {'group' : '*'})
1227 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 11, 'group' : '',
1229 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 12, 'group' : '',
1231 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 13, 'group' : '',
1242 let s = sign_getplaced('Xsign', {'group' : '*'})
1244 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1246 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1252 let s = sign_getplaced('Xsign', {'group' : '*'})
1254 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1256 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1262 let s = sign_getplaced('Xsign', {'group' : '*'})
1264 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1266 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1273 let s = sign_getplaced('Xsign', {'group' : '*'})
1275 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1277 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1290 let s = sign_getplaced('Xsign', {'group' : '*'})
1292 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1294 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1296 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1303 let s = sign_getplaced('Xsign', {'group' : '*'})
1305 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1307 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1309 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1316 let s = sign_getplaced('Xsign', {'group' : '*'})
1318 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1320 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1322 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1329 let s = sign_getplaced('Xsign', {'group' : '*'})
1331 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1333 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1335 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1342 let s = sign_getplaced('Xsign', {'group' : '*'})
1344 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1346 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1348 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1366 let s = sign_getplaced('Xsign', {'group' : '*'})
1368 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 2, 'group' : '',
1370 \ {'id' : 2, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1372 \ {'id' : 4, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1374 \ {'id' : 3, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1376 \ {'id' : 5, 'name' : 'sign2', 'lnum' : 6, 'group' : '',
1383 let s = sign_getplaced('Xsign', {'group' : '*'})
1385 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 2, 'group' : '',
1387 \ {'id' : 4, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1389 \ {'id' : 3, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1391 \ {'id' : 2, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1393 \ {'id' : 5, 'name' : 'sign2', 'lnum' : 6, 'group' : '',
1400 let s = sign_getplaced('Xsign', {'group' : '*'})
1402 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 2, 'group' : '',
1404 \ {'id' : 2, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1406 \ {'id' : 4, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1408 \ {'id' : 3, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1410 \ {'id' : 5, 'name' : 'sign2', 'lnum' : 6, 'group' : '',
1417 let s = sign_getplaced('Xsign', {'group' : '*'})
1419 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 2, 'group' : '',
1421 \ {'id' : 2, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1423 \ {'id' : 3, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1425 \ {'id' : 4, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1427 \ {'id' : 5, 'name' : 'sign2', 'lnum' : 6, 'group' : '',
1434 let s = sign_getplaced('Xsign', {'group' : '*'})
1436 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 2, 'group' : '',
1438 \ {'id' : 3, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1440 \ {'id' : 2, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1442 \ {'id' : 4, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1444 \ {'id' : 5, 'name' : 'sign2', 'lnum' : 6, 'group' : '',
1457 let s = sign_getplaced('Xsign', {'group' : '*'})
1459 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1461 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1463 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1469 let s = sign_getplaced('Xsign', {'group' : '*'})
1471 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1473 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1475 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1481 let s = sign_getplaced('Xsign', {'group' : '*'})
1483 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1485 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1487 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1493 let s = sign_getplaced('Xsign', {'group' : '*'})
1495 \ {'id' : 3, 'name' : 'sign3', 'lnum' : 4, 'group' : '',
1497 \ {'id' : 1, 'name' : 'sign1', 'lnum' : 4, 'group' : '',
1499 \ {'id' : 2, 'name' : 'sign2', 'lnum' : 4, 'group' : '',
1512 \ {'id' : 1, 'name' : 'sign2', 'lnum' : 5, 'group' : '',
1519 \ {'id' : 1, 'name' : 'sign2', 'lnum' : 5, 'group' : '',
1532 sign place 5 group=g1 line=10 name=sign1 priority=20 file=Xsign
1533 sign place 5 group=g2 line=10 name=sign1 priority=25 file=Xsign
1534 let a = execute('sign place group=*')
1537 \ " line=10 id=5 group=g2 name=sign1 priority=25\n" .
1538 \ " line=10 id=5 group=g1 name=sign1 priority=20\n", a)
1540 " Test for :sign place group={group}
1541 let a = execute('sign place group=g1')
1543 \ " line=10 id=5 group=g1 name=sign1 priority=20\n", a)
1585 \ 'priority': 10, 'group': 'g1'}], binfo[0].signs)
1651 sign unplace * group=*
1674 exe 'sign place 4 group=g1 line=4 name=sign1 buffer=' . bufnr('')
1675 let l = sign_getplaced(bufnr(''), {'group' : 'g1'})
1677 exe 'sign place 4 group=g1 name=sign2 buffer=' . bufnr('')
1678 let l = sign_getplaced(bufnr(''), {'group' : 'g1'})
1681 let l = sign_getplaced(bufnr(''), {'group' : 'g1'})
1684 sign unplace * group=*
1730 sign unplace * group=*
1891 sign unplace * group=*
1923 let l = sign_placelist([{'id' : 1, 'group' : 'g1', 'name' : 'sign1',
1925 \ {'id' : 2, 'group' : 'g2', 'name' : 'sign2',
1927 \ {'id' : 3, 'group' : '', 'name' : 'sign3',
1930 let s = sign_getplaced('Xsign', {'group' : '*'})
1933 \ 'group' : 'g2', 'priority' : 100},
1935 \ 'group' : 'g1', 'priority' : 50},
1937 \ 'group' : '', 'priority' : 10}], s[0].signs)
1943 \ {'group' : 'g1', 'name' : 'sign1',
1945 \ {'group' : 'g2', 'name' : 'sign2',
1947 \ {'group' : '', 'name' : 'sign3',
1949 let s = sign_getplaced('Xsign', {'group' : '*'})
1952 \ 'group' : '', 'priority' : 10},
1954 \ 'group' : 'g2', 'priority' : 10},
1956 \ 'group' : 'g1', 'priority' : 10}], s[0].signs)
1958 " Change an existing sign without specifying the group
1960 let s = sign_getplaced('Xsign', {'id' : 5, 'group' : ''})
1962 \ 'group' : '', 'priority' : 10}], s[0].signs)
1970 \ 'group' : '', 'priority' : 10}], s[0].signs)
1974 \ 'lnum' : 12, 'group' : ''}]))
1978 \ 'lnum' : 12, 'group' : ''}]))
1989 \ {'id' : 1, 'group' : 'g1'}, {'id' : 1, 'group' : 'g2'}]))