a8e788a215
subrepo: subdir: "dotfiles/.vim/plugged/vim-prettier" merged: "5e6cca21" upstream: origin: "https://github.com/prettier/vim-prettier.git" branch: "master" commit: "5e6cca21" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
8 lines
291 B
VimL
8 lines
291 B
VimL
" Build config using predefined preset
|
|
function! prettier#resolver#preset#resolve(fileTypeConfigOverwrites) abort
|
|
if ( g:prettier#preset#config ==# 'fb' )
|
|
return extend(prettier#presets#fb#config(), a:fileTypeConfigOverwrites)
|
|
endif
|
|
|
|
return a:fileTypeConfigOverwrites
|
|
endfunction
|