From 7ac46762931442491b13401411a1b4eb65272099 Mon Sep 17 00:00:00 2001 From: mitermayer Date: Thu, 12 Sep 2019 23:54:51 +0000 Subject: 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 --- doc/prettier.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/prettier.txt b/doc/prettier.txt index 0a8dc30..11ed194 100644 --- a/doc/prettier.txt +++ b/doc/prettier.txt @@ -185,6 +185,10 @@ However they can be configured by: " css|strict|ignore let g:prettier#config#html_whitespace_sensitivity = 'css' + + " false|true + " default: 'false' + let g:prettier#config#require_pragma = 'false' < ============================================================================== REQUIREMENT(S) *vim-prettier-requirements* -- cgit v1.3-5-g45d5