diff --git a/runtime/ftplugin/c.vim b/runtime/ftplugin/c.vim index 915861b8d5..42a435f1df 100644 --- a/runtime/ftplugin/c.vim +++ b/runtime/ftplugin/c.vim @@ -1,8 +1,7 @@ " Vim filetype plugin file " Language: C " Maintainer: The Vim Project -" Last Change: 2023 Aug 22 -" 2024 Jun 02 by Riley Bruins ('commentstring') +" Last Change: 2025 Aug 08 " Former Maintainer: Bram Moolenaar " Only do this when not done yet for this buffer @@ -28,7 +27,7 @@ setlocal fo-=t fo+=croql setlocal commentstring=/*\ %s\ */ define& include& " Set completion with CTRL-X CTRL-O to autoloaded function. -if exists('&ofu') +if exists('&ofu') && has("vim9script") setlocal ofu=ccomplete#Complete endif