Skip to content

Commit 4209391

Browse files
committed
fix(prettier): kill opinionated prettier_options
Prettier has its own defaults which can be overridden by user's .prettierrc and project-local package.json as well. Don't impose a new and conflicting set of defaults in vim-codefmt.
1 parent 7098728 commit 4209391

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

instant/flags.vim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ call s:plugin.Flag('shfmt_executable', 'shfmt')
111111
""
112112
" Command line arguments to feed prettier. Either a list or callable that
113113
" takes no args and returns a list with command line arguments.
114-
call s:plugin.Flag('prettier_options', [
115-
\ '--single-quote', '--trailing-comma=all',
116-
\ '--arrow-parens=always', '--print-width=80'])
114+
call s:plugin.Flag('prettier_options', [])
117115

118116
""
119117
" The path to the prettier executable.

0 commit comments

Comments
 (0)