From 7b20361baf5f8947ff55ac5d26dd4a75aacfc7d7 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 14 May 2019 16:31:52 +0200 Subject: [PATCH] denite: correctly test denite version references #1918 --- autoload/airline/extensions/denite.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/denite.vim b/autoload/airline/extensions/denite.vim index 114d434..7274768 100644 --- a/autoload/airline/extensions/denite.vim +++ b/autoload/airline/extensions/denite.vim @@ -7,7 +7,7 @@ if !get(g:, 'loaded_denite', 0) finish endif -let s:denite_ver = (exists('*get_status_mode') ? 2 : 3) +let s:denite_ver = (exists('*denite#get_status_mode') ? 2 : 3) " Denite does not use vim's built-in modal editing but has a custom prompt " that implements its own insert/normal mode so we have to handle changing the " highlight