Fixes a refresh problem causing invalid nit extern code coloration