From 12367470eeba432b4020f31649295126fedcb238 Mon Sep 17 00:00:00 2001 From: Christian Höltje Date: Wed, 21 Mar 2018 00:17:01 -0400 Subject: don't change focus to the quicklist Add an option to restore the cursor's window & position after calling `setqflist()`. --- doc/prettier.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/prettier.txt b/doc/prettier.txt index 96f7f72..6cfa4e5 100644 --- a/doc/prettier.txt +++ b/doc/prettier.txt @@ -109,6 +109,11 @@ By default parsing errors will open the quickfix but can also be disabled > let g:prettier#exec_cmd_async = 1 < +Have the cursor returned to its original window after the quickfix window is +shown. +> + let g:prettier#no_focus_quicklist = 1 +< 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 -- cgit v1.3