Adding this to ~/.vimrc
allowed vim to recognise namelist files as fortran files, and the syntax highlighting that is applied is adequate:
if has("autocmd")
au BufNewFile,BufRead *.nml set filetype=fortran
au BufNewFile,BufRead *.namelist set filetype=fortran
endif