Explorar el Código

problem using MRU plugin with Vim 7.4 and earlier

Yegappan Lakshmanan hace 5 años
padre
commit
2979dc4b3f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plugin/mru.vim

+ 1 - 1
plugin/mru.vim

@@ -745,7 +745,7 @@ function! s:MRU_add_files_to_menu(prefix, file_list)
 
         " Truncate the directory name if it is long
         let dir_name = fnamemodify(fname, ':h')
-	if v:version >= 8.0 || has("patch-7.4.1730")
+	if v:version >= 800 || has("patch-7.4.1730")
 	    let len = strchars(dir_name)
 	    " Shorten long file names by adding only few characters from
 	    " the beginning and end.