mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-09 06:04:46 +08:00
Rename function name for clearer meaning
This commit is contained in:
@@ -7,13 +7,13 @@ function! s:GetConfig(name, default)
|
|||||||
let value = exists(name) ? eval(name) : a:default
|
let value = exists(name) ? eval(name) : a:default
|
||||||
|
|
||||||
if a:name == 'config'
|
if a:name == 'config'
|
||||||
let value = s:MergeDefaultWithUserConfig(value)
|
let value = s:MergeUserConfigIntoDefault(value)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
return value
|
return value
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:MergeDefaultWithUserConfig(user)
|
function! s:MergeUserConfigIntoDefault(user)
|
||||||
let default = {
|
let default = {
|
||||||
\'syntax': {
|
\'syntax': {
|
||||||
\ 'template': ['html'],
|
\ 'template': ['html'],
|
||||||
|
|||||||
Reference in New Issue
Block a user