We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc27c7c commit 18285baCopy full SHA for 18285ba
1 file changed
autoload/skeleton.vim
@@ -7,7 +7,7 @@
7
" autoload/skeleton.vim
8
9
function! skeleton#load(file_path)
10
- if !filereadable(a:file_path) || (g:sigma_skeleton_fill == 1 && getfsize(a:file_path) < 1)
+ if a:file_path != '' && (!filereadable(a:file_path) || (g:sigma_skeleton_fill == 1 && getfsize(a:file_path) < 1))
11
let s:file_name = split(a:file_path, '/')[-1]
12
let s:file_dir = split(a:file_path, '/')[-2]
13
let s:file_ext = split(s:file_name, '\.')[-1]
0 commit comments