diff options
Diffstat (limited to 'runtime/ftplugin/lua.lua')
-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()' |