NASM Highlighting

question

Greetings, fellas! Per my title, I was wondering how I can permanently set the syntax highlighting for .asm files for NASM?

Any and all help is appreciated. Thank you in advance!

Posted Dec 11, 2018, 12:25 AM UTC

92
bradagy•

If you want to set the filetype for all .asm files to nasm, you could try to add this line in your vimrc:

let g:asmsyntax = 'nasm'

For more information, see :h asm.vim.

8
theBlueProgrammerOP•

That's the ticket! Thank you very much.

2