map r completion types to code icons