Created
January 21, 2013 08:32
-
-
Save labeneator/4584577 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/plugin/restore_view.vim b/plugin/restore_view.vim | |
index cf43019..aff1404 100644 | |
--- a/plugin/restore_view.vim | |
+++ b/plugin/restore_view.vim | |
@@ -43,6 +43,7 @@ function! MakeViewCheck() | |
if &modifiable == 0 | return 0 | endif | |
if len($TEMP) && expand('%:p:h') == $TEMP | return 0 | endif | |
if len($TMP) && expand('%:p:h') == $TMP | return 0 | endif | |
+ if strlen(expand('%:p')) > 31 | return 0 | endif | |
let file_name = expand('%:p') | |
for ifiles in g:skipview_files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Relevant github issue: spf13/spf13-vim#269 (comment)