Use smart case matching for contiguous/prefix/fullmatch detection
Use smart case matching for contiguous/prefix/fullmatch detection

Fixes #1498

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