install.fairie/dotfiles/.vim/plugged/vim-prettier/autoload/prettier/presets/fb.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

13 lines
331 B
VimL

" Return facebook style config overwrite presets
function! prettier#presets#fb#config() abort
return {
\ 'bracketSpacing': 'false',
\ 'jsxBracketSameLine': 'true',
\ 'printWidth': 80,
\ 'parser': 'flow',
\ 'singleQuote': 'true',
\ 'tabWidth': 2,
\ 'trailingComma': 'all',
\ 'useTabs': 'false',
\ }
endfunction