Fix mapping when pumvisible
Support compound filetype