From 3630d98d44d50a5b6a5fa131aac9a3eb49e94d4d Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Thu, 15 Jan 2009 14:58:11 +0000 Subject: [PATCH] Set Perforce filetype when submitting. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@171 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .vim/script/p4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vim/script/p4 b/.vim/script/p4 index 9319906..34e8af4 100644 --- a/.vim/script/p4 +++ b/.vim/script/p4 @@ -5,6 +5,8 @@ fun! P4submit() " There's no point doing this if the spec is readonly. That probably means " it's a submitted change. if ! &ro + setf perforce + " Clear the unnamed register. let @" = "" try -- 2.20.1