nasm.vim (580B)
1 " Vim filetype plugin 2 " Language: NASM - The Netwide Assembler 3 " Maintainer: Amelia Clarke <selene@perilune.dev> 4 " Last Change: 2026 Sep 15 5 " NASM Home: https://nasm.us/ 6 7 if exists('b:did_ftplugin') 8 finish 9 endif 10 let b:did_ftplugin = 1 11 12 setlocal comments=:; 13 setlocal commentstring=;\ %s 14 let &l:define = '\v\c^\s*\%i?%(x?define|def%(alias|str|tok)|macro)>' 15 setlocal formatoptions-=t formatoptions+=croql 16 let &l:include = '\c^\s*%include\>' 17 setlocal iskeyword=@,48-57,#,$,.,?,@-@,_,~ 18 let b:undo_ftplugin = 'setl cms< com< def< fo< inc< isk<' 19 20 " vim: et sts=2 sw=2 ts=8 tw=80