format check-ns output like vim plugin