diff options
| author | Mitermayer Reis <mitermayer.reis@gmail.com> | 2017-09-25 22:34:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-25 22:34:58 -0700 |
| commit | ade5eb14442a4d78206683eb850353945e8feaed (patch) | |
| tree | e6aed0297f9dab77814b9d7f4829c2c39e066853 /plugin | |
| parent | 9cc6c741d11fe5ac700f333a88881c9123f83f54 (diff) | |
| parent | c880bd037e5768c4b4aaecee7a23df2a41c7c9ff (diff) | |
| download | vim-prettier-0.1.2.tar.xz | |
Merge pull request #57 from prettier/issue/56-allow-option-to-set-prettier-cli-path0.1.2
issue/56 - Allowing user path overwrite configuration
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/prettier.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/prettier.vim b/plugin/prettier.vim index 343ffcd..7837370 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) +" path to prettier cli +let g:prettier#exec_cmd_path = get(g:, 'prettier#exec_cmd_path', 0) + " calling :Prettier by default runs synchronous let g:prettier#exec_cmd_async = get(g:, 'prettier#exec_cmd_async', 0) |
