aboutsummaryrefslogtreecommitdiff
path: root/plugin/prettier.vim
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2018-01-15 09:16:37 -0800
committermitermayer <mitermayer.reis@gmail.com>2018-01-15 09:18:20 -0800
commit1e2a63bbda85ac6fc713f3651de603aedffc012b (patch)
tree358e5800e5e9c3bd24768d2d982aad99402ff3c3 /plugin/prettier.vim
parent9e4fb5a9c9eafff143f32a655218052127b5ccc8 (diff)
downloadvim-prettier-1e2a63bbda85ac6fc713f3651de603aedffc012b.tar.xz
Disabling nvim async by default under feature flag
- The new nvim async had some bugs reported, while we are still investigating fixes for it we will then disable it by default, users should be able to still use it by enabling the flag on their .vimrc in the meantime `g:prettier#nvim_unstable_async`
Diffstat (limited to 'plugin/prettier.vim')
-rw-r--r--plugin/prettier.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/prettier.vim b/plugin/prettier.vim
index bd33cd2..bd02c3c 100644
--- a/plugin/prettier.vim
+++ b/plugin/prettier.vim
@@ -20,6 +20,9 @@ let g:loaded_prettier = 1
" autoformating enabled by default upon saving
let g:prettier#autoformat = get(g:, 'prettier#autoformat', 1)
+" experimental async flag will be disabled by default until is stable
+let g:prettier#nvim_unstable_async = get(g:,'prettier#nvim_unstable_async', 0)
+
" path to prettier cli
let g:prettier#exec_cmd_path = get(g:, 'prettier#exec_cmd_path', 0)