From 4f69c11c7cd7b75bb23cf7565f278af918816546 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 15 Jan 2016 17:02:53 +0100 Subject: [PATCH] De Morgan --- autoload/sy.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy.vim b/autoload/sy.vim index 92e8352..b59081c 100644 --- a/autoload/sy.vim +++ b/autoload/sy.vim @@ -145,5 +145,5 @@ endfunction " Function: #buffer_is_active {{{1 function! sy#buffer_is_active() - return (!exists('b:sy') || !b:sy.active) ? 0 : 1 + return exists('b:sy') && b:sy.active endfunction