vim: use BufRead,BufNewFile instead of FileType for setup_asm

master
an 2019-08-25 08:25:32 -04:00
parent 4fff8f3d0b
commit 87c2e5ae42
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ augroup AGW
au FileType racket call _agw.setup_rkt()
" ASM options
au FileType asm call _agw.setup_asm()
au BufRead,BufNewFile *.inc,*.asm,*.i,*.s call _agw.setup_asm()
" Strip whitespace
au BufWritePre * if _agw.is_lang(&ft) | call _agw.strip_white() | endif