Fix syntax matching pattern for visible buffers

The `!` in the pattern needs to be escaped in order for it to match properly.