From 2a733ec6ccbc44dbc37c9cb36dc74bf9bcb8c02c Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 23 Feb 2025 08:21:24 -0800 Subject: revert "feat(ftplugin): set 'omnifunc' of Lua to 'v:lua.vim.lua_omnifunc'" #32597 This reverts commit f398e3a61abbf802b49867d2f533be1b0725c0d7. --- runtime/ftplugin/lua.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'runtime/ftplugin/lua.lua') 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()' -- cgit