diff options
author | Phạm Bình An <111893501+brianhuster@users.noreply.github.com> | 2025-02-23 22:57:16 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-23 07:57:16 -0800 |
commit | f398e3a61abbf802b49867d2f533be1b0725c0d7 (patch) | |
tree | aa60e7cab8688434bdd435b809a198a08dc05631 /runtime/lua/vim/loader.lua | |
parent | b28373638848c0532bea346f48083c7e65f2d8f6 (diff) | |
download | rneovim-f398e3a61abbf802b49867d2f533be1b0725c0d7.tar.gz rneovim-f398e3a61abbf802b49867d2f533be1b0725c0d7.tar.bz2 rneovim-f398e3a61abbf802b49867d2f533be1b0725c0d7.zip |
feat(ftplugin): set Lua 'omnifunc' to vim.lua_omnifunc #32491
Problem:
- Many other ftplugin have defined 'omnifunc', but the Lua one doesn't
define one, even though there is `vim.lua_omnifunc()`
- Users may want "stupid" completion to fix Lua config with
`nvim --clean` in case they breaks it
Solution:
Set 'omnifunc' to 'v:lua.vim.lua_omnifunc' in ftplugin/lua.lua
Diffstat (limited to 'runtime/lua/vim/loader.lua')
0 files changed, 0 insertions, 0 deletions