mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
detect shebangs for stdin as well
This commit is contained in:
parent
d13858e420
commit
3fc9ed4355
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ if has('autocmd')
|
|||
au BufRead,BufNewFile *.asm setlocal ft=lips
|
||||
au BufRead,BufNewFile *.nim setlocal ft=nim
|
||||
au BufRead,BufNewFile *.pde setlocal ft=processing
|
||||
au BufRead * call DetectShebang()
|
||||
au BufRead,BufNewFile,StdinReadPost * call DetectShebang()
|
||||
augroup END
|
||||
|
||||
augroup insanity
|
||||
|
|
Loading…
Add table
Reference in a new issue