Lines Matching refs:sign
16 sign define Sign1 text=x
18 …call Sign_command_ignore_error('sign define Sign2 text=xy texthl=Title linehl=Error icon=../../pix…
21 let a=execute('sign list')
26 let a=execute('sign list Sign1')
29 " Split the window to the bottom to verify sign jump will stay in the
33 exe 'sign place 41 line=3 name=Sign1 buffer=' . bn
36 exe 'sign jump 41 buffer=' . bufnr('%')
42 " Create a new buffer and check that ":sign jump" switches to the old buffer.
46 exe 'sign jump 41 buffer=' . bn
50 " Redraw to make sure that screen redraw with sign gets exercised,
59 " Check that we can't change sign.
60 call assert_fails("sign place 40 name=Sign1 buffer=" . bufnr('%'), 'E885:')
63 let a=execute('sign place')
67 " Unplace the sign and try jumping to it again should fail.
68 sign unplace 41
70 call assert_fails("sign jump 41 buffer=" . bufnr('%'), 'E157:')
73 " Unplace sign on current line.
74 exe 'sign place 42 line=4 name=Sign2 buffer=' . bufnr('%')
76 sign unplace
77 let a=execute('sign place')
80 " Try again to unplace sign on current line, it should fail this time.
81 call assert_fails('sign unplace', 'E159:')
84 exe 'sign place 41 line=3 name=Sign1 buffer=' . bufnr('%')
85 sign unplace *
86 let a=execute('sign place')
89 " Place a sign without specifying the filename or buffer
90 sign place 77 line=9 name=Sign2
91 let a=execute('sign place')
94 sign unplace *
100 …call Sign_command_ignore_error('sign define Sign3 text=y texthl=DoesNotExist linehl=DoesNotExist i…
103 exe 'sign place 43 line=2 name=Sign3 file=' . fn
106 exe 'sign jump 43 file=' . fn
109 " Check for jumping to a sign in a hidden buffer
114 exe 'sign place 21 line=3 name=Sign3 file=' . fn
116 exe 'sign jump 21 file=' . fn
119 " can't define a sign with a non-printable character as text
120 call assert_fails("sign define Sign4 text=\e linehl=Comment", 'E239:')
121 call assert_fails("sign define Sign4 text=a\e linehl=Comment", 'E239:')
122 call assert_fails("sign define Sign4 text=\ea linehl=Comment", 'E239:')
125 call assert_fails("sign define Sign4 text=abc linehl=Comment", 'E239:')
126 call assert_fails("sign define Sign4 text= linehl=Comment", 'E239:')
127 call assert_fails("sign define Sign4 text=\\ ab linehl=Comment", 'E239:')
129 " define sign with whitespace
130 sign define Sign4 text=\ X linehl=Comment
131 sign undefine Sign4
132 sign define Sign4 linehl=Comment text=\ X
133 sign undefine Sign4
135 sign define Sign5 text=X\ linehl=Comment
136 sign undefine Sign5
137 sign define Sign5 linehl=Comment text=X\
138 sign undefine Sign5
140 " define sign with backslash
141 sign define Sign4 text=\\\\ linehl=Comment
142 sign undefine Sign4
143 sign define Sign4 text=\\ linehl=Comment
144 sign undefine Sign4
146 " define a sign with a leading 0 in the name
147 sign unplace *
148 sign define 004 text=#> linehl=Comment
149 let a = execute('sign list 4')
151 exe 'sign place 20 line=3 name=004 buffer=' . bufnr('')
152 let a = execute('sign place')
155 exe 'sign unplace 20 buffer=' . bufnr('')
156 sign undefine 004
157 call assert_fails('sign list 4', 'E155:')
159 " After undefining the sign, we should no longer be able to place it.
160 sign undefine Sign1
161 sign undefine Sign2
162 sign undefine Sign3
163 call assert_fails("sign place 41 line=3 name=Sign1 buffer=" .
167 " Undefining placed sign is not recommended.
168 " Quoting :help sign
170 " :sign undefine {name}
171 " Deletes a previously defined sign. If signs with this {name}
175 sign define Sign text=x
176 exe 'sign place 41 line=1 name=Sign buffer=' . bufnr('%')
177 sign undefine Sign
179 " Listing placed sign should show that sign is deleted.
180 let a=execute('sign place')
184 sign unplace 41
185 let a=execute('sign place')
190 sign define Sign1 text=x
191 sign define Sign2 text=y
193 call feedkeys(":sign \<C-A>\<C-B>\"\<CR>", 'tx')
194 call assert_equal('"sign define jump list place undefine unplace', @:)
196 call feedkeys(":sign define Sign \<C-A>\<C-B>\"\<CR>", 'tx')
197 call assert_equal('"sign define Sign icon= linehl= text= texthl=', @:)
199 call feedkeys(":sign define Sign linehl=Spell\<C-A>\<C-B>\"\<CR>", 'tx')
200 call assert_equal('"sign define Sign linehl=SpellBad SpellCap ' .
203 call feedkeys(":sign define Sign texthl=Spell\<C-A>\<C-B>\"\<CR>", 'tx')
204 call assert_equal('"sign define Sign texthl=SpellBad SpellCap ' .
209 call feedkeys(":sign define Sign icon=Xsig\<C-A>\<C-B>\"\<CR>", 'tx')
210 call assert_equal('"sign define Sign icon=XsignOne XsignTwo', @:)
212 " Test for completion of arguments to ':sign undefine'
213 call feedkeys(":sign undefine \<C-A>\<C-B>\"\<CR>", 'tx')
214 call assert_equal('"sign undefine Sign1 Sign2', @:)
216 call feedkeys(":sign place 1 \<C-A>\<C-B>\"\<CR>", 'tx')
217 call assert_equal('"sign place 1 buffer= file= group= line= name= priority=',
220 call feedkeys(":sign place 1 name=\<C-A>\<C-B>\"\<CR>", 'tx')
221 call assert_equal('"sign place 1 name=Sign1 Sign2', @:)
224 sign place 1 name=Sign1 line=5
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'
230 call feedkeys(":sign place 1 name=Sign1 file=Xsign\<C-A>\<C-B>\"\<CR>", 'tx')
231 call assert_equal('"sign place 1 name=Sign1 file=XsignOne XsignTwo', @:)
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', @:)
235 " Test for completion of arguments to 'sign place' without sign identifier
236 call feedkeys(":sign place \<C-A>\<C-B>\"\<CR>", 'tx')
237 call assert_equal('"sign place buffer= file= group=', @:)
238 call feedkeys(":sign place file=Xsign\<C-A>\<C-B>\"\<CR>", 'tx')
239 call assert_equal('"sign place file=XsignOne XsignTwo', @:)
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', @:)
245 " Test for completion of arguments to ':sign unplace'
246 call feedkeys(":sign unplace 1 \<C-A>\<C-B>\"\<CR>", 'tx')
247 call assert_equal('"sign unplace 1 buffer= file= group=', @:)
248 call feedkeys(":sign unplace 1 file=Xsign\<C-A>\<C-B>\"\<CR>", 'tx')
249 call assert_equal('"sign unplace 1 file=XsignOne XsignTwo', @:)
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', @:)
255 " Test for completion of arguments to ':sign list'
256 call feedkeys(":sign list \<C-A>\<C-B>\"\<CR>", 'tx')
257 call assert_equal('"sign list Sign1 Sign2', @:)
259 " Test for completion of arguments to ':sign jump'
260 call feedkeys(":sign jump 1 \<C-A>\<C-B>\"\<CR>", 'tx')
261 call assert_equal('"sign jump 1 buffer= file= group=', @:)
262 call feedkeys(":sign jump 1 file=Xsign\<C-A>\<C-B>\"\<CR>", 'tx')
263 call assert_equal('"sign jump 1 file=XsignOne XsignTwo', @:)
264 call feedkeys(":sign jump 1 group=\<C-A>\<C-B>\"\<CR>", 'tx')
265 call assert_equal('"sign jump 1 group=g1 g2', @:)
268 call feedkeys(":sign here\<C-A>\<C-B>\"\<CR>", 'tx')
269 call assert_equal('"sign here', @:)
270 call feedkeys(":sign define Sign here=\<C-A>\<C-B>\"\<CR>", 'tx')
271 call assert_equal("\"sign define Sign here=\<C-A>", @:)
272 call feedkeys(":sign place 1 here=\<C-A>\<C-B>\"\<CR>", 'tx')
273 call assert_equal("\"sign place 1 here=\<C-A>", @:)
274 call feedkeys(":sign jump 1 here=\<C-A>\<C-B>\"\<CR>", 'tx')
275 call assert_equal("\"sign jump 1 here=\<C-A>", @:)
276 call feedkeys(":sign here there\<C-A>\<C-B>\"\<CR>", 'tx')
277 call assert_equal("\"sign here there\<C-A>", @:)
278 call feedkeys(":sign here there=\<C-A>\<C-B>\"\<CR>", 'tx')
279 call assert_equal("\"sign here there=\<C-A>", @:)
281 sign unplace * group=*
282 sign undefine Sign1
283 sign undefine Sign2
290 sign define Sign1 text=x
292 call assert_fails('sign', 'E471:')
293 call assert_fails('sign jump', 'E471:')
294 call assert_fails('sign xxx', 'E160:')
295 call assert_fails('sign define', 'E156:')
296 call assert_fails('sign define Sign1 xxx', 'E475:')
297 call assert_fails('sign undefine', 'E156:')
298 call assert_fails('sign list xxx', 'E155:')
299 call assert_fails('sign place 1 buffer=999', 'E158:')
300 call assert_fails('sign place 1 name=Sign1 buffer=999', 'E158:')
301 call assert_fails('sign place buffer=999', 'E158:')
302 call assert_fails('sign jump buffer=999', 'E158:')
303 call assert_fails('sign jump 1 file=', 'E158:')
304 call assert_fails('sign jump 1 group=', 'E474:')
305 call assert_fails('sign jump 1 name=', 'E474:')
306 call assert_fails('sign jump 1 name=Sign1', 'E474:')
307 call assert_fails('sign jump 1 line=100', '474:')
308 call assert_fails('sign define Sign2 text=', 'E239:')
309 " Non-numeric identifier for :sign place
310 call assert_fails("sign place abc line=3 name=Sign1 buffer=" . bufnr(''),
312 " Non-numeric identifier for :sign unplace
313 call assert_fails("sign unplace abc name=Sign1 buffer=" . bufnr(''),
315 " Number followed by an alphabet as sign identifier for :sign place
316 call assert_fails("sign place 1abc line=3 name=Sign1 buffer=" . bufnr(''),
318 " Number followed by an alphabet as sign identifier for :sign unplace
319 call assert_fails("sign unplace 2abc name=Sign1 buffer=" . bufnr(''),
321 " Sign identifier and '*' for :sign unplace
322 call assert_fails("sign unplace 2 *", 'E474:')
323 " Trailing characters after buffer number for :sign place
324 call assert_fails("sign place 1 line=3 name=Sign1 buffer=" .
326 " Trailing characters after buffer number for :sign unplace
327 call assert_fails("sign unplace 1 buffer=" . bufnr('%') . 'xxx', 'E488:')
328 call assert_fails("sign unplace * buffer=" . bufnr('%') . 'xxx', 'E488:')
329 call assert_fails("sign unplace 1 xxx", 'E474:')
330 call assert_fails("sign unplace * xxx", 'E474:')
331 call assert_fails("sign unplace xxx", 'E474:')
332 " Placing a sign without line number
333 call assert_fails("sign place name=Sign1 buffer=" . bufnr('%'), 'E474:')
334 " Placing a sign without sign name
335 call assert_fails("sign place line=10 buffer=" . bufnr('%'), 'E474:')
336 " Unplacing a sign with line number
337 call assert_fails("sign unplace 2 line=10 buffer=" . bufnr('%'), 'E474:')
338 " Unplacing a sign with sign name
339 call assert_fails("sign unplace 2 name=Sign1 buffer=" . bufnr('%'), 'E474:')
340 " Placing a sign without sign name
341 call assert_fails("sign place 2 line=3 buffer=" . bufnr('%'), 'E474:')
342 " Placing a sign with only sign identifier
343 call assert_fails("sign place 2", 'E474:')
344 " Placing a sign with only a name
345 call assert_fails("sign place abc", 'E474:')
346 " Placing a sign with only line number
347 call assert_fails("sign place 5 line=3", '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:')
351 " Placing a sign with only sign priority
352 call assert_fails("sign place 5 priority=10", 'E474:')
354 sign undefine Sign1
359 sign define Sign text=x
363 exe 'sign place 61 line=3 name=Sign buffer=' . bufnr
364 call assert_fails('sign jump 61 buffer=' . bufnr, 'E934:')
365 sign unplace 61
366 sign undefine Sign
369 " Ignore error: E255: Couldn't read in sign data!
379 " ignore error: E255: Couldn't read in sign data!
400 " Define a new sign without attributes and then update it
409 " Test for a sign name with digits
479 call assert_fails("call sign_getplaced('dummy.sign')", 'E158:')
509 " Test for modifying a placed sign
539 " Tests for sign groups
627 " Clear the sign in global group
637 " Clear the sign in one of the groups
649 " Clear sign across groups using an identifier
659 " Place a sign in the global group and try to delete it using a group
686 " Test for :sign command and groups
687 sign place 5 line=10 name=sign1 file=Xsign
688 sign place 5 group=g1 line=10 name=sign1 file=Xsign
689 sign place 5 group=g2 line=10 name=sign1 file=Xsign
691 " Tests for the ':sign place' command
693 " :sign place file={fname}
694 let a = execute('sign place file=Xsign')
698 " :sign place group={group} file={fname}
699 let a = execute('sign place group=g2 file=Xsign')
703 " :sign place group=* file={fname}
704 let a = execute('sign place group=* file=Xsign')
711 let a = execute('sign place group=xyz file=Xsign')
716 exe 'sign place 5 line=10 name=sign1 buffer=' . bnum
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
720 " :sign place buffer={fname}
721 let a = execute('sign place buffer=' . bnum)
725 " :sign place group={group} buffer={fname}
726 let a = execute('sign place group=g2 buffer=' . bnum)
730 " :sign place group=* buffer={fname}
731 let a = execute('sign place group=* buffer=' . bnum)
738 let a = execute('sign place group=xyz buffer=' . bnum)
741 " :sign place
742 let a = execute('sign place')
749 sign place 25 line=76 name=sign1 priority=99 file=foo
750 let a = execute('sign place')
758 " :sign place group={group}
759 let a = execute('sign place group=g1')
763 " :sign place group=*
764 let a = execute('sign place group=*')
770 " Test for ':sign jump' command with groups
771 sign jump 5 group=g1 file=Xsign
774 sign jump 5 group=g2 file=Xsign
777 " Test for :sign jump command without the filename or buffer
778 sign jump 5
780 sign jump 5 group=g1
784 call assert_fails("sign place 3 group= name=sign1 buffer=" . bnum, 'E474:')
792 " Place signs used for ":sign unplace" command test
796 sign place 3 line=10 name=sign1 file=Xsign1
797 sign place 3 group=g1 line=11 name=sign1 file=Xsign1
798 sign place 3 group=g2 line=12 name=sign1 file=Xsign1
799 sign place 4 line=15 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
802 sign place 5 line=20 name=sign1 file=Xsign2
803 sign place 5 group=g1 line=21 name=sign1 file=Xsign2
804 sign place 5 group=g2 line=22 name=sign1 file=Xsign2
805 sign place 6 line=25 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
813 sign place 3 line=13 name=sign1 file=Xsign1
814 sign place 3 group=g1 line=13 name=sign1 file=Xsign1
815 sign place 3 group=g2 line=13 name=sign1 file=Xsign1
816 sign place 4 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
821 " Tests for the ':sign unplace' command
865 " Test for :sign unplace {id} file={fname}
867 sign unplace 3 file=Xsign1
868 sign unplace 6 file=Xsign2
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
891 " Test for :sign unplace {id} group=* file={fname}
893 sign unplace 3 group=* file=Xsign1
894 sign unplace 6 group=* file=Xsign2
904 " Test for :sign unplace * file={fname}
906 sign unplace * file=Xsign1
913 " Test for :sign unplace * group={group} file={fname}
915 sign unplace * group=g1 file=Xsign1
916 sign unplace * group=g2 file=Xsign2
926 " Test for :sign unplace * group=* file={fname}
928 sign unplace * group=* file=Xsign2
932 " Test for :sign unplace {id} buffer={nr}
934 exe 'sign unplace 3 buffer=' . bnum1
935 exe 'sign unplace 6 buffer=' . bnum2
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
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
971 " Test for :sign unplace * buffer={nr}
973 exe 'sign unplace * buffer=' . bnum1
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
993 " Test for :sign unplace * group=* buffer={nr}
995 exe 'sign unplace * group=* buffer=' . bnum2
999 " Test for :sign unplace {id}
1001 sign unplace 4
1002 sign unplace 6
1012 " Test for :sign unplace {id} group={group}
1014 sign unplace 4 group=g1
1015 sign unplace 6 group=g2
1025 " Test for :sign unplace {id} group=*
1027 sign unplace 3 group=*
1028 sign unplace 5 group=*
1038 " Test for :sign unplace *
1040 sign unplace *
1050 " Test for :sign unplace * group={group}
1052 sign unplace * group=g1
1062 " Test for :sign unplace * group=*
1064 sign unplace * group=*
1070 sign unplace 3 group=xy file=Xsign1
1071 sign unplace * group=xy file=Xsign1
1072 silent! sign unplace * group=* file=FileNotPresent
1076 " Tests for removing sign at the current cursor position
1078 " Test for ':sign unplace'
1094 " Should remove only one sign in the global group
1096 sign unplace
1101 " Should remove the second sign in the global group
1102 sign unplace
1108 " Test for ':sign unplace group={group}'
1110 " Should remove only one sign in group g1
1111 sign unplace group=g1
1116 sign unplace group=g2
1122 " Test for ':sign unplace group=*'
1124 sign unplace group=*
1125 sign unplace group=*
1126 sign unplace group=*
1131 sign unplace group=*
1132 sign unplace group=*
1133 sign unplace group=*
1143 " Tests for auto-generating the sign identifier.
1167 " Check for the next generated sign id in this group
1180 " Test for sign priority
1249 " Change the priority of the last sign to highest
1259 " Change the priority of the first sign to lowest
1300 " Change the priority of the middle sign to the highest
1313 " Change the priority of the middle sign to the lowest
1326 " Change the priority of the last sign to the highest
1339 " Change the priority of the first sign to the lowest
1380 " Change the priority of the first sign to lowest
1397 " Change the priority of the last sign to highest
1414 " Change the priority of the middle sign to lowest
1431 " Change the priority of the middle sign to highest
1466 " Place the last sign again with the same priority
1478 " Place the first sign again with the same priority
1490 " Place the middle sign again with the same priority
1530 " Tests for the :sign place command with priority
1531 sign place 5 line=10 name=sign1 priority=30 file=Xsign
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=*')
1540 " Test for :sign place group={group}
1541 let a = execute('sign place group=g1')
1551 " Tests for memory allocation failures in sign functions
1593 " Test for auto-adjusting the line number of a placed sign.
1597 sign define sign1 text=#> linehl=Comment
1599 exe 'sign place 5 line=3 name=sign1 buffer=' . bufnr('')
1603 " Add some lines before the sign and check the sign line number
1608 " Delete some lines before the sign and check the sign line number
1613 " Insert some lines after the sign and check the sign line number
1618 " Delete some lines after the sign and check the sign line number
1627 " Delete the line with the sign
1640 " Delete few lines at the end of the buffer including the line with the sign
1651 sign unplace * group=*
1652 sign undefine sign1
1656 " Test for changing the type of a placed sign
1660 sign define sign1 text=#> linehl=Comment
1661 sign define sign2 text=@@ linehl=Comment
1664 exe 'sign place 4 line=3 name=sign1 buffer=' . bufnr('')
1667 exe 'sign place 4 name=sign2 buffer=' . bufnr('')
1674 exe 'sign place 4 group=g1 line=4 name=sign1 buffer=' . bufnr('')
1677 exe 'sign place 4 group=g1 name=sign2 buffer=' . bufnr('')
1684 sign unplace * group=*
1685 sign undefine sign1
1686 sign undefine sign2
1694 sign define sign1 text=#> linehl=Comment
1730 sign unplace * group=*
1731 sign undefine sign1
1735 " Test for correct cursor position after the sign column appears or disappears.
1742 sign define s1 texthl=Search text==>
1743 sign define s2 linehl=Pmenu
1745 sign place 10 line=2 name=s1
1751 " Change the sign text
1752 call term_sendkeys(buf, ":sign define s1 text=-)\<CR>")
1755 " Also place a line HL sign
1756 call term_sendkeys(buf, ":sign place 11 line=2 name=s2\<CR>")
1761 call term_sendkeys(buf, ":sign unplace 11\<CR>")
1762 call term_sendkeys(buf, ":sign unplace 10\<CR>")
1765 " 'cursorline' highlighting overrules sign
1766 call term_sendkeys(buf, ":sign place 12 line=2 name=s2\<CR>")
1773 " sign highlighting overrules 'cursorline'
1774 call term_sendkeys(buf, ":sign unplace 12\<CR>")
1775 call term_sendkeys(buf, ":sign place 13 line=2 priority=100 name=s2\<CR>")
1797 " With 'signcolumn' set to 'number', make sure sign is displayed in the
1802 sign define sign1 text==>
1803 sign define sign2 text=V
1804 sign place 10 line=1 name=sign1
1808 " With 'signcolumn' set to 'number', when there is no sign, make sure line
1810 sign unplace 10
1814 " Disable number column. Check whether sign is displayed in the sign column
1817 sign place 10 line=1 name=sign1
1821 " Enable number column. Check whether sign is displayed in the number column
1826 " Disable sign column. Make sure line number is displayed
1831 " Enable auto sign column. Make sure both sign and line number are displayed
1844 " Place a sign and make sure number column width remains the same
1845 sign place 20 line=2 name=sign1
1874 " Remove the sign and make sure the width of the number column is 1.
1878 " When the first sign is placed with 'signcolumn' set to number, verify that
1880 sign place 30 line=1 name=sign1
1884 " Add sign with multi-byte text
1886 sign place 40 line=2 name=sign2
1891 sign unplace * group=*
1892 sign undefine sign1
1898 " Test for managing multiple signs using the sign functions
1922 " Place multiple signs at once with specific sign identifier
1941 " Place multiple signs at once with auto-generated sign identifier
1958 " Change an existing sign without specifying the group
1964 " Place a sign using '.' as the line number
1972 " Place sign without a sign name
1976 " Place sign without a buffer