From eae4de456aea6ae2211cf8e6f0e0a245b5cdfe04 Mon Sep 17 00:00:00 2001 From: CJ Lazell Date: Tue, 30 Nov 2021 18:31:21 -0600 Subject: [PATCH] allow custom binding --- autoload/copilot.vim | 2 -- 1 file changed, 2 deletions(-) diff --git a/autoload/copilot.vim b/autoload/copilot.vim index 7fa40f86..ffa0f082 100644 --- a/autoload/copilot.vim +++ b/autoload/copilot.vim @@ -579,8 +579,6 @@ function! s:EnabledStatusMessage() abort let buf_disabled = s:BufferDisabled() if !s:has_ghost_text && bufwinid('copilot://') == -1 return "Neovim 0.6 prerelease required to support ghost text" - elseif !copilot#IsMapped() - return ' map has been disabled or is claimed by another plugin' elseif !get(g:, 'copilot_enabled', 1) return 'Disabled globally by :Copilot disable' elseif buf_disabled is# 4