mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-19 04:21:26 +08:00
Rename function name for clearer meaning
This commit is contained in:
1 parent
43490363a5
commit
98e22f2af4
1 file changed
+2
-2
+2
-2
@@ -7,13 +7,13 @@ function! s:GetConfig(name, default)
|
||||
let value = exists(name) ? eval(name) : a:default
|
||||
|
||||
if a:name == 'config'
|
||||
let value = s:MergeDefaultWithUserConfig(value)
|
||||
let value = s:MergeUserConfigIntoDefault(value)
|
||||
endif
|
||||
|
||||
return value
|
||||
endfunction
|
||||
|
||||
function! s:MergeDefaultWithUserConfig(user)
|
||||
function! s:MergeUserConfigIntoDefault(user)
|
||||
let default = {
|
||||
\'syntax': {
|
||||
\ 'template': ['html'],
|
||||
|
||||
Reference in new issue
Block a user