mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 21:00:03 +08:00
fix(plugins): fix get_config_name function
close https://github.com/SpaceVim/SpaceVim/issues/4817
This commit is contained in:
parent
231623f8fb
commit
7b1f0b5d3a
@ -222,6 +222,8 @@ function! s:get_config_name(name) abort
|
||||
return a:name
|
||||
elseif a:name =~# '\.nvim$'
|
||||
return substitute(a:name, '\.nvim$', '.vim', 'g')
|
||||
elseif a:name =~# '\.lua$'
|
||||
return substitute(a:name, '\.lua$', '.vim', 'g')
|
||||
else
|
||||
return a:name . '.vim'
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user