diff --git a/autoload/storage.vim b/autoload/storage.vim index 44c6a12..b1a3850 100644 --- a/autoload/storage.vim +++ b/autoload/storage.vim @@ -1,7 +1,7 @@ function! storage#read(cmd, path, dict) abort if (storage#last_string(a:path) !=? '/') if (!has_key(a:dict, a:path)) - let tempfile = tempname() . '.' . storage#current_file_extension() + let tempfile = tempname() let a:dict[a:path] = tempfile else let tempfile = a:dict[a:path]