git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0f5908
)
Set Perforce filetype when submitting.
author
Iain Patterson
<me@iain.cx>
Thu, 15 Jan 2009 14:58:11 +0000
(14:58 +0000)
committer
Iain Patterson
<me@iain.cx>
Thu, 15 Jan 2009 14:58:11 +0000
(14:58 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@171
6be0d1a5
-5cfe-0310-89b6-
964be062b18b
.vim/script/p4
patch
|
blob
|
history
diff --git
a/.vim/script/p4
b/.vim/script/p4
index
9319906
..
34e8af4
100644
(file)
--- 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