summaryrefslogtreecommitdiff
path: root/plugin/prettier.vim
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2019-09-14 05:38:22 +0000
committermitermayer <mitermayer.reis@gmail.com>2019-09-14 05:38:22 +0000
commit29c1ed25fa649d6f71f6c6bb24a07a262d2f45ca (patch)
tree0702cab37961a0bcf63f0470482d45a70f7b11fd /plugin/prettier.vim
parent2bc93788e5a48e25ba6ed8f8a46e05cbd65489f3 (diff)
downloadvim-prettier-29c1ed25fa649d6f71f6c6bb24a07a262d2f45ca.tar.xz
making-auto-format-disabled-by-default - Making autoformat disabled by
default - This is a breaking change as on versions 0.x autoformat was enabled by default. This should ensure users dont need to disable autoformat anymore in their vimrc
Diffstat (limited to 'plugin/prettier.vim')
-rw-r--r--plugin/prettier.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/prettier.vim b/plugin/prettier.vim
index 928630b..079cb05 100644
--- a/plugin/prettier.vim
+++ b/plugin/prettier.vim
@@ -18,7 +18,7 @@ let g:loaded_prettier = 1
" => Plugin config
" autoformating enabled by default upon saving
-let g:prettier#autoformat = get(g:, 'prettier#autoformat', 1)
+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)