1 Test that groups and patterns are tested correctly when calling exists() for
9 :call add(results, "##BufEnter: " . exists("##BufEnter"))
10 :call add(results, "#BufEnter: " . exists("#BufEnter"))
11 :au BufEnter * let g:entered=1
12 :call add(results, "#BufEnter: " . exists("#BufEnter"))
13 :call add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
15 :au BufEnter * let g:entered=1
17 :call add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
18 :call add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
19 :au BufEnter *.test let g:entered=1
20 :call add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
22 :call add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
23 :au BufEnter <buffer> let g:entered=1
24 :call add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
26 :call add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
28 :call append(0, results)