projects
/
shutils.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vim: check for .*vimrc-local files before loading
[shutils.git]
/
dotfiles
/
vim
/
.vimrc
diff --git
a/dotfiles/vim/.vimrc
b/dotfiles/vim/.vimrc
index 739ae07cf327d4bcfbd6b53d23d2e39b0059a296..e65aba1f042acc8514c0aab09929fd5319d5fb77 100644
(file)
--- a/
dotfiles/vim/.vimrc
+++ b/
dotfiles/vim/.vimrc
@@
-319,6
+319,9
@@
let g:SuperTabDefaultCompletionType = 'context'
"let g:SuperTabDefaultCompletionType = '<c-x><c-u>'
-source ~/.vimrc-local
+
+if filereadable($HOME . "/.vimrc-local")
+ source ~/.vimrc-local
+endif