runtime(editorconfig): set omnifunc to syntaxcomplete func
Commit:
https://github.com/vim/vim/commit/51754c8a498c39592250a077f56db89dd261995d
Author: Yochem van Rosmalen <
g...@yochem.nl>
Date: Fri Jan 10 19:54:13 2025 +0100
runtime(editorconfig): set omnifunc to syntaxcomplete func
closes:
https://github.com/vim/vim/issues/16419
Signed-off-by: Yochem van Rosmalen <
g...@yochem.nl>
Signed-off-by: Riley Bruins <
rib...@hotmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/ftplugin/editorconfig.vim b/runtime/ftplugin/editorconfig.vim
index 6d437351e..1693a95c0 100644
--- a/runtime/ftplugin/editorconfig.vim
+++ b/runtime/ftplugin/editorconfig.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: EditorConfig
" Maintainer: Riley Bruins <
rib...@gmail.com>
-" Last Change: 2024 Jul 06
+" Last Change: 2025 Jan 10
if exists('b:did_ftplugin')
finish
@@ -10,4 +10,6 @@ let b:did_ftplugin = 1
setl comments=:#,:; commentstring=#\ %s
-let b:undo_ftplugin = 'setl com< cms<'
+setl omnifunc=syntaxcomplete#Complete
+
+let b:undo_ftplugin = 'setl com< cms< ofu<'