Insert quotes at the caret position instead of the end. Backporting from @Robertof / nerdz-template-pro-theme