aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 11 insertions, 4 deletions
diff --git a/README.md b/README.md
index aac2b94..b7f7741 100644
--- a/README.md
+++ b/README.md
@@ -48,10 +48,10 @@ vim-prettier.
vim-prettier executable resolution:
-1. Look for user defined prettier cli path from vim configuration file
-2. Traverse parents and search for Prettier installation inside `node_modules`
-3. Look for a global prettier installation
-4. Use locally installed vim-prettier prettier executable
+1. Look for user defined prettier cli path from vim configuration file
+2. Traverse parents and search for Prettier installation inside `node_modules`
+3. Look for a global prettier installation
+4. Use locally installed vim-prettier prettier executable
### USAGE
@@ -129,6 +129,13 @@ By default parsing errors will open the quickfix but can also be disabled
let g:prettier#quickfix_enabled = 0
```
+Have the cursor returned to its original window after the quickfix window is
+shown.
+
+```vim
+let g:prettier#no_focus_quicklist = 0
+```
+
To enable vim-prettier to run in files without requiring the "@format" doc tag.
First disable the default autoformat, then update to your own custom behaviour