vim enable nasm highlighting code example Example: set assembly highligh vim :set ft=nasm permanently in vimrc: let g:asmsyntax = 'nasm'