asm.vim 350 B

12345678910111213141516171819
  1. " asm.vim: Vim filetype plugin for Go assembler.
  2. if exists("b:did_ftplugin")
  3. finish
  4. endif
  5. let b:did_ftplugin = 1
  6. let b:undo_ftplugin = "setl fo< com< cms<"
  7. setlocal formatoptions-=t
  8. setlocal comments=s1:/*,mb:*,ex:*/,://
  9. setlocal commentstring=//\ %s
  10. setlocal noexpandtab
  11. command! -nargs=0 AsmFmt call go#asmfmt#Format()
  12. " vim: sw=2 ts=2 et