aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorMitermayer Reis <mitermayer.reis@gmail.com>2019-09-13 22:43:44 -0700
committerGitHub <noreply@github.com>2019-09-13 22:43:44 -0700
commit9c216df3a57d35dc90222473a3438697624c9a4f (patch)
treee802daed1eaf09f6e847d57eb5ebadd5cb86e23a /plugin
parent2bc93788e5a48e25ba6ed8f8a46e05cbd65489f3 (diff)
parent322018fdeb5c5a5d3f2a68612d86b35fee22f7ea (diff)
downloadvim-prettier-9c216df3a57d35dc90222473a3438697624c9a4f.tar.xz
Merge pull request #208 from prettier/making-auto-format-disabled-by-default
making-auto-format-disabled-by-default - Making autoformat disabled by
Diffstat (limited to 'plugin')
-rw-r--r--plugin/prettier.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/prettier.vim b/plugin/prettier.vim
index 928630b..83656d3 100644
--- a/plugin/prettier.vim
+++ b/plugin/prettier.vim
@@ -17,8 +17,8 @@ endif
let g:loaded_prettier = 1
" => Plugin config
-" autoformating enabled by default upon saving
-let g:prettier#autoformat = get(g:, 'prettier#autoformat', 1)
+" autoformating disabled by default upon saving
+let g:prettier#autoformat = get(g:, 'prettier#autoformat', 0)
" path to prettier cli
let g:prettier#exec_cmd_path = get(g:, 'prettier#exec_cmd_path', 0)