Fix multiline autocompletion within blocks