Useful .vimrc entries for today. Working a project where the files are named *.asp, presumably for historical reasons, but are actually Perl. Thus:
syntax on
filetype on
au BufNewFile,BufRead *.asp set filetype=perl
The Margin is Too Narrow
Useful .vimrc entries for today. Working a project where the files are named *.asp, presumably for historical reasons, but are actually Perl. Thus:
syntax on
filetype on
au BufNewFile,BufRead *.asp set filetype=perl
ActiveState Perl I guess. Maybe an old IDE of theirs used the extension?
No, far from it. It's a project that was inherited from another developer and converted to Perl, but retaining the old file names.