As Martin suggested, the definition of comment continuation characters happens in
'commentstring') settings. Comment related plugins like NerdCommenter/EnhancedCommentify/tComment(?)/... have their own way to define which sequences shall be used to comment existing blocks -- some of them use what is defined in
The easy solution would be to add a
~/.vim/after/ftplugin/asm/att.vim file in your configuration that expands default ASM settings with
/*...*/ are still kept as comments.
If more differences exist, you may want instead to exploit vim default detection of asm flavour (see
$VIMRUNTIME/autoload/dist/ft.vim) by adding
# asmsyntax=attasm in your files, and a
~/.vim/ftplugin/attasm.vim that contains exactly what you want, and a syntax file that loads default asm syntax highlighting file (w/
You may want to read
Note, I wonder whether the fact that
# isn't configured as a continuation character is because it may have side effects with GAS preprocessor (according to this Q/A), and thus seen as a bad practice.