aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-08-07 11:47:14 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-08-07 11:47:14 +1200
commita990df74d6e7ee4839557e7d628108747f7c315c (patch)
tree6fae36ac9219d6034d0cdaea4f5fd449a87a9a6e
parentUpdate cgit URLs (diff)
downloaddotfiles-a990df74d6e7ee4839557e7d628108747f7c315c.tar.gz
dotfiles-a990df74d6e7ee4839557e7d628108747f7c315c.zip
Don't start POSIX-compliant Vim on "vi" name
-rw-r--r--vim/vimrc.stub2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc.stub b/vim/vimrc.stub
index 486c71e0..23a90608 100644
--- a/vim/vimrc.stub
+++ b/vim/vimrc.stub
@@ -7,7 +7,7 @@
" glory, and then stop sourcing the rest of this file.
"
if !&compatible && !exists('$POSIXLY_CORRECT')
- if v:version >= 700 && v:progname !=# 'vi'
+ if v:version >= 700
runtime vimrc
finish
endif