Commit 1b69c47f authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add Vim recognition for "licence" filetype

Files named COPYING*, LICENCE* or LICENSE* are marked as the filetype
"licence".  It is really a plain text file but this allows the
&modifiable flag to be unset for these files.

For established projects these files will rarely change or require
changing and for new projects they will typically be downloaded.  It
makes sense to treat them as fixed documentation like RFCs.
parent daf28d12
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
au BufNewFile,BufRead COPYING* setl filetype=licence
+1 −0
Original line number Diff line number Diff line
setl nomodifiable