From 51754c8a498c39592250a077f56db89dd261995d Mon Sep 17 00:00:00 2001 From: Yochem van Rosmalen Date: Fri, 10 Jan 2025 19:54:13 +0100 Subject: [PATCH] runtime(editorconfig): set omnifunc to syntaxcomplete func closes: #16419 Signed-off-by: Yochem van Rosmalen Signed-off-by: Riley Bruins Signed-off-by: Christian Brabandt --- runtime/ftplugin/editorconfig.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/ftplugin/editorconfig.vim b/runtime/ftplugin/editorconfig.vim index 6d437351eb..1693a95c0b 100644 --- a/runtime/ftplugin/editorconfig.vim +++ b/runtime/ftplugin/editorconfig.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: EditorConfig " Maintainer: Riley Bruins -" 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<'