aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2018-03-25 15:08:37 -0700
committermitermayer <mitermayer.reis@gmail.com>2018-03-25 15:08:37 -0700
commita0ab8e9b30022d00f5e6fa82a0204846c99b485b (patch)
treead0856d49eba64a4d7d908ccd6362424db29c712 /autoload
parent31c10476272da60990d5e0639b8da15c76a5fa47 (diff)
downloadvim-prettier-a0ab8e9b30022d00f5e6fa82a0204846c99b485b.tar.xz
Updating the logic for controlling the quickfix flag
- Negation flags are usually more confusing to understand specially when the default is having it enabled.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/prettier.vim2
1 files changed, 1 insertions, 1 deletions
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