Re: [pryzbyj: maint scripts]
* Justin Pryzby [Sat, 07 Aug 2004 11:36:37 -0400]:
> Er, yes. I actually put that in my ~/.vimrc (as well as in /etc) last
> night, but it didn't work. vim detects filetype=virata.
> Of course, if I force filetype=perl, it looks nice. I checked
> /usr/bin/replay, and my script starts exactly the same.
[going on with the OT]
it's because of the .pkg extension:
$ fgrep .pkg /usr/share/vim/vim63/filetype.vim
au BufRead,BufNewFile *.hw,*.module,*.pkg setf virata
it takes precedence over the hash-bang line. you could use a
modeline...
--
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.
-- George Bernard Shaw
Reply to: