aboutsummaryrefslogtreecommitdiff
path: root/autoload/prettier.vim
diff options
context:
space:
mode:
authorJason Cheatham <j.cheatham@gmail.com>2018-11-19 22:57:22 -0500
committerJason Cheatham <j.cheatham@gmail.com>2018-11-19 22:57:22 -0500
commit14d3be088c95e70a41ef69ec4cd65ff4ab32503d (patch)
tree0a3f1ce5fee7611b9025e6a5dd53b65258759d39 /autoload/prettier.vim
parent5779a87d901da3f44991feb3a6480b1156c37f3f (diff)
downloadvim-prettier-14d3be088c95e70a41ef69ec4cd65ff4ab32503d.tar.xz
Don't modify next argument line
Diffstat (limited to 'autoload/prettier.vim')
-rw-r--r--autoload/prettier.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/prettier.vim b/autoload/prettier.vim
index dc42ee0..a957e60 100644
--- a/autoload/prettier.vim
+++ b/autoload/prettier.vim
@@ -325,8 +325,8 @@ function! s:Get_Prettier_Exec_Args(config) abort
\ ' --prose-wrap ' .
\ get(a:config, 'proseWrap', g:prettier#config#prose_wrap) .
\ ' --stdin-filepath "' .
- \ simplify(expand('%:p')) .
- \ '" --loglevel error '.
+ \ simplify(expand('%:p')) . '"' .
+ \ ' --loglevel error '.
\ ' --stdin '
return l:cmd
endfunction