Fix coding indent

This commit is contained in:
aiya000 2016-01-10 22:23:59 +09:00
parent e002ba3558
commit d30a22c235
1 changed files with 6 additions and 6 deletions

View File

@ -28,12 +28,12 @@ endfunction
" echo repl#get_filetype_repl('python')
" => {'repl': 'python', 'opt': '-i'}
function! repl#get_filetype_repl(filetype) abort
if !exists('g:repl_filetype_repl')
return g:repl#default_filetype_repl[a:filetype]
endif
let l:filetype_repl = deepcopy(g:repl#default_filetype_repl)
call extend(l:filetype_repl, g:repl_filetype_repl)
return l:filetype_repl[a:filetype]
if !exists('g:repl_filetype_repl')
return g:repl#default_filetype_repl[a:filetype]
endif
let l:filetype_repl = deepcopy(g:repl#default_filetype_repl)
call extend(l:filetype_repl, g:repl_filetype_repl)
return l:filetype_repl[a:filetype]
endfunction
"-------------------"