vim: use BufRead,BufNewFile instead of FileType for setup_asm
parent
4fff8f3d0b
commit
87c2e5ae42
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue