Marco Hinz 12 лет назад
Родитель
Сommit
b97fcbd490
3 измененных файлов с 5 добавлено и 5 удалено
  1. 3 3
      autoload/startify.vim
  2. 1 1
      plugin/startify.vim
  3. 1 1
      syntax/startify.vim

+ 3 - 3
autoload/startify.vim

@@ -20,7 +20,7 @@ function! startify#escape(path) abort
   return !exists('+shellslash') || &shellslash ? fnameescape(a:path) : escape(a:path, '\')
 endfunction
 
-function! startify#get_sep() abort
+function! startify#get_separator() abort
   return !exists('+shellslash') || &shellslash ? '/' : '\'
 endfunction
 
@@ -47,7 +47,7 @@ function! startify#save_session(...) abort
       return
     endif
   endif
-  let spath = g:startify_session_dir . startify#get_sep() . (exists('a:1')
+  let spath = g:startify_session_dir . startify#get_separator() . (exists('a:1')
         \ ? a:1
         \ : input('Save under this session name: ', '', 'custom,startify#get_session_names_as_string'))
         \ | redraw
@@ -68,7 +68,7 @@ function! startify#load_session(...) abort
     echo 'The session directory does not exist: '. g:startify_session_dir
     return
   endif
-  let spath = g:startify_session_dir . startify#get_sep() . (exists('a:1')
+  let spath = g:startify_session_dir . startify#get_separator() . (exists('a:1')
         \ ? a:1
         \ : input('Load this session: ', '', 'custom,startify#get_session_names_as_string'))
         \ | redraw

+ 1 - 1
plugin/startify.vim

@@ -43,7 +43,7 @@ function! s:insane_in_the_membrane() abort
   setfiletype startify
 
   let special = get(g:, 'startify_enable_special', 1)
-  let sep = startify#get_sep()
+  let sep = startify#get_separator()
   let cnt = 0
 
   if special

+ 1 - 1
syntax/startify.vim

@@ -7,7 +7,7 @@ if exists("b:current_syntax")
   finish
 endif
 
-let s:sep = startify#get_sep()
+let s:sep = startify#get_separator()
 
 syntax  match  StartifySpecial  /\V<empty buffer>\|<quit>/
 syntax  match  StartifyBracket  /\[\|\]/