aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2019-09-12 23:54:51 +0000
committermitermayer <mitermayer.reis@gmail.com>2019-09-12 23:58:31 +0000
commit7ac46762931442491b13401411a1b4eb65272099 (patch)
tree1ad98ac2154d698998fc545014c980d448476d94 /README.md
parent758415cc88bbe7144964ef3ad770acd400567e55 (diff)
downloadvim-prettier-7ac46762931442491b13401411a1b4eb65272099.tar.xz
issues/184-fixing-undo-step - Adding support for require-pragma
- Our previous undo implementation tried to be naive on implementing require-pragma, and created some undo bugs due to it. This diff enables us to use the prettier upstream support for require-pragma - On subsequent PR's we will completetly phase out the previous undo implementation in favour to this one in order to fix bug https://github.com/prettier/vim-prettier/issues/184
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 04e2243..ee2ff31 100644
--- a/README.md
+++ b/README.md
@@ -227,6 +227,10 @@ let g:prettier#config#prose_wrap = 'preserve'
" css|strict|ignore
" default: 'css'
let g:prettier#config#html_whitespace_sensitivity = 'css'
+
+" false|true
+" default: 'false'
+let g:prettier#config#require_pragma = 'false'
```
### REQUIREMENT(S)