aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormitermayer <mreis@atlassian.com>2020-04-27 08:10:57 +1000
committermitermayer <mreis@atlassian.com>2020-04-27 08:10:57 +1000
commite12223182a51c85528159cb8baf4339998eb9797 (patch)
tree362e8fba738b1bcd5bb4f03a4b6f8ac3097cc852 /doc
parentde4c4fc5d879c8d82668e47384f80ff45c1bfb42 (diff)
downloadvim-prettier-e12223182a51c85528159cb8baf4339998eb9797.tar.xz
issue/232-adding-support-for-prettier-2.x - Adding support for prettier
2.x - Updating default config - Adding missing configuration - Updating yarn lock - Updating package.json depedencies
Diffstat (limited to 'doc')
-rw-r--r--doc/prettier.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/prettier.txt b/doc/prettier.txt
index b56f6e1..3751da0 100644
--- a/doc/prettier.txt
+++ b/doc/prettier.txt
@@ -195,8 +195,13 @@ However they can be configured by:
" false|true
" default: 'false'
- let g:prettier#config#require_pragma = 'false'
-<
+ " let g:prettier#config#require_pragma = 'false'
+
+ " Define the flavor of line endings
+ " lf|crlf|cr|all
+ " defaut: 'lf'
+ let g:prettier#config#end_of_line = get(g:, 'prettier#config#end_of_line', 'lf')
+
==============================================================================
REQUIREMENT(S) *vim-prettier-requirements*