aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-01-10 20:03:35 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-01-11 00:44:06 +0100
commitdcaf9a60e9c0b3b4f8439897b344b4e632802beb (patch)
tree291428fdb0ac38fac78963814fa879bc82b78aa6
parentaa2b44fbb07f3ab4dd00ea4a3ae7c5d31bc20a9d (diff)
downloadrneovim-dcaf9a60e9c0b3b4f8439897b344b4e632802beb.tar.gz
rneovim-dcaf9a60e9c0b3b4f8439897b344b4e632802beb.tar.bz2
rneovim-dcaf9a60e9c0b3b4f8439897b344b4e632802beb.zip
vim-patch:51754c8: runtime(editorconfig): set omnifunc to syntaxcomplete func
closes: vim/vim#16419 https://github.com/vim/vim/commit/51754c8a498c39592250a077f56db89dd261995d Co-authored-by: Yochem van Rosmalen <git@yochem.nl>
-rw-r--r--runtime/ftplugin/editorconfig.vim6
1 files 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 <ribru17@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<'