Fix coding indent
This commit is contained in:
parent
e002ba3558
commit
d30a22c235
@ -28,12 +28,12 @@ endfunction
|
|||||||
" echo repl#get_filetype_repl('python')
|
" echo repl#get_filetype_repl('python')
|
||||||
" => {'repl': 'python', 'opt': '-i'}
|
" => {'repl': 'python', 'opt': '-i'}
|
||||||
function! repl#get_filetype_repl(filetype) abort
|
function! repl#get_filetype_repl(filetype) abort
|
||||||
if !exists('g:repl_filetype_repl')
|
if !exists('g:repl_filetype_repl')
|
||||||
return g:repl#default_filetype_repl[a:filetype]
|
return g:repl#default_filetype_repl[a:filetype]
|
||||||
endif
|
endif
|
||||||
let l:filetype_repl = deepcopy(g:repl#default_filetype_repl)
|
let l:filetype_repl = deepcopy(g:repl#default_filetype_repl)
|
||||||
call extend(l:filetype_repl, g:repl_filetype_repl)
|
call extend(l:filetype_repl, g:repl_filetype_repl)
|
||||||
return l:filetype_repl[a:filetype]
|
return l:filetype_repl[a:filetype]
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
"-------------------"
|
"-------------------"
|
||||||
|
Reference in New Issue
Block a user