From 1d1f36b24ea601eb950865982e05b875aa702330 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 21 Feb 2022 00:04:43 +0100 Subject: Use old version of vim repository, fixes #779 closes #780 --- ftplugin/crystal.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin/crystal.vim') diff --git a/ftplugin/crystal.vim b/ftplugin/crystal.vim index 3d0887b6..2e6a96fc 100644 --- a/ftplugin/crystal.vim +++ b/ftplugin/crystal.vim @@ -53,7 +53,7 @@ if get(g:, 'crystal_define_mappings', 1) nmap gsc (crystal-spec-run-current) endif -if &l:ofu ==# '' +if &l:ofu ==# '' && get(g:, 'crystal_enable_completion', 1) setlocal omnifunc=crystal_lang#complete endif -- cgit v1.2.3