diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2025-02-23 08:21:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-23 08:21:24 -0800 |
commit | 2a733ec6ccbc44dbc37c9cb36dc74bf9bcb8c02c (patch) | |
tree | 1e1898f3b32a52b76a13d3bc21b7a640d14946f0 /runtime/ftplugin | |
parent | 9304a417af9998a8164c2b66d6033f9586d36c56 (diff) | |
download | rneovim-2a733ec6ccbc44dbc37c9cb36dc74bf9bcb8c02c.tar.gz rneovim-2a733ec6ccbc44dbc37c9cb36dc74bf9bcb8c02c.tar.bz2 rneovim-2a733ec6ccbc44dbc37c9cb36dc74bf9bcb8c02c.zip |
revert "feat(ftplugin): set 'omnifunc' of Lua to 'v:lua.vim.lua_omnifunc'" #32597
This reverts commit f398e3a61abbf802b49867d2f533be1b0725c0d7.
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/lua.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/ftplugin/lua.lua b/runtime/ftplugin/lua.lua index e2a7631b29..75deb6b190 100644 --- a/runtime/ftplugin/lua.lua +++ b/runtime/ftplugin/lua.lua @@ -1,7 +1,4 @@ -- use treesitter over syntax vim.treesitter.start() -vim.bo.omnifunc = 'v:lua.vim.lua_omnifunc' - -vim.b.undo_ftplugin = (vim.b.undo_ftplugin or '') - .. '\n call v:lua.vim.treesitter.stop() \n setl omnifunc<' +vim.b.undo_ftplugin = (vim.b.undo_ftplugin or '') .. '\n call v:lua.vim.treesitter.stop()' |