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