diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2022-02-21 00:04:43 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2022-02-21 00:04:43 +0100 |
commit | 1d1f36b24ea601eb950865982e05b875aa702330 (patch) | |
tree | 94b9af10f5801fb3711088ee4f879e6995ae73c9 /ftplugin/crystal.vim | |
parent | b77c5f11070ecb2ff343aa18b4ea859e6168f16c (diff) | |
download | vim-polyglot-4.17.1.tar.gz vim-polyglot-4.17.1.zip |
Use old version of vim repository, fixes #779v4.17.1
closes #780
Diffstat (limited to '')
-rw-r--r-- | ftplugin/crystal.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 <buffer>gsc <Plug>(crystal-spec-run-current) endif -if &l:ofu ==# '' +if &l:ofu ==# '' && get(g:, 'crystal_enable_completion', 1) setlocal omnifunc=crystal_lang#complete endif |