runtime(editorconfig): set omnifunc to syntaxcomplete func
Commit:
https://github.com/vim/vim/commit/51754c8a498c39592250a077f56db89dd261995d
Author: Yochem van Rosmalen <[email protected]>
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 <[email protected]>
Signed-off-by: Riley Bruins <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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 <[email protected]>
-" 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<'
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tWKEp-003AS5-Vp%40256bit.org.