We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa2bcbd commit b89ff6cCopy full SHA for b89ff6c
1 file changed
runtime/ftplugin/c.vim
@@ -1,8 +1,7 @@
1
" Vim filetype plugin file
2
" Language: C
3
" Maintainer: The Vim Project <https://github.com/vim/vim>
4
-" Last Change: 2023 Aug 22
5
-" 2024 Jun 02 by Riley Bruins <ribru17@gmail.com> ('commentstring')
+" Last Change: 2025 Aug 08
6
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
7
8
" Only do this when not done yet for this buffer
@@ -28,7 +27,7 @@ setlocal fo-=t fo+=croql
28
27
setlocal commentstring=/*\ %s\ */ define& include&
29
30
" Set completion with CTRL-X CTRL-O to autoloaded function.
31
-if exists('&ofu')
+if exists('&ofu') && has("vim9script")
32
setlocal ofu=ccomplete#Complete
33
endif
34
0 commit comments