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: "???"
13 lines
331 B
VimL
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
|