How to automatically close issues referenced in git commit footer section

If I add “fix #13” in the footer of my git commit message, the issue doesn’t get closed automatically. Issue does get closed automatically if I mention the same in git commit summary or description. Conventional Commits[1](and AngularJs conventions, etc.) however suggests adding such information in the footer of the commit message. Is there a way to enable closing issues automatically even if the footer contains the “fix” type of phrases? I’m using account on Gitlab.com.

[1] Conventional Commits

Try “resolve #1234”, works for me in the default branch.