From a0ab8e9b30022d00f5e6fa82a0204846c99b485b Mon Sep 17 00:00:00 2001 From: mitermayer Date: Sun, 25 Mar 2018 15:08:37 -0700 Subject: Updating the logic for controlling the quickfix flag - Negation flags are usually more confusing to understand specially when the default is having it enabled. --- autoload/prettier.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload/prettier.vim') diff --git a/autoload/prettier.vim b/autoload/prettier.vim index 5f48033..4b5a4e9 100644 --- a/autoload/prettier.vim +++ b/autoload/prettier.vim @@ -251,7 +251,7 @@ function! s:Handle_Parsing_Errors(out) abort let l:winnr = winnr() call setqflist(l:errors, 'r') botright copen - if g:prettier#no_focus_quicklist + if !g:prettier#quickfix_auto_focus " Return the cursor back to the main buffer. exe l:winnr . 'wincmd w' endif -- cgit v1.3-6-g1900