Extract ui type parsing to its own function
Extract ui type parsing to its own function

jjthrash/kakoune,ekie/kakoune,jjthrash/kakoune,alexherbo2/kakoune,lenormf/kakoune,mawww/kakoune,Somasis/kakoune,alexherbo2/kakoune,jjthrash/kakoune,casimir/kakoune,occivink/kakoune,ekie/kakoune,ekie/kakoune,occivink/kakoune,Somasis/kakoune,danr/kakoune,danr/kakoune,Somasis/kakoune,flavius/kakoune,casimir/kakoune,lenormf/kakoune,flavius/kakoune,jkonecny12/kakoune,jkonecny12/kakoune,Somasis/kakoune,occivink/kakoune,casimir/kakoune,mawww/kakoune,occivink/kakoune,flavius/kakoune,jkonecny12/kakoune,alexherbo2/kakoune,casimir/kakoune,mawww/kakoune,jkonecny12/kakoune,ekie/kakoune,mawww/kakoune,lenormf/kakoune,flavius/kakoune,alexherbo2/kakoune,danr/kakoune,lenormf/kakoune,danr/kakoune,jjthrash/kakoune