install.fairie/dotfiles/.vim/plugged/vim-prettier/autoload/prettier/resolver/preset.vim
Git E2E Dev Test Username a8e788a215 git subrepo clone (merge) https://github.com/prettier/vim-prettier.git ./dotfiles/.vim/plugged/vim-prettier
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:   "???"
2022-10-18 10:36:42 -04:00

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