From 8f5e90811025bcc652146168d5116f8d73fe8f81 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 1 Jul 2024 17:48:09 +0800 Subject: fix(runtime): update b:undo_ftplugin in Lua runtime files (#29529) Related to #29506, but adding vim.treesitter.stop() to b:undo_ftplugin doesn't solve the problem yet. --- runtime/ftplugin/query.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/ftplugin/query.lua') diff --git a/runtime/ftplugin/query.lua b/runtime/ftplugin/query.lua index c75dc30430..499619e36f 100644 --- a/runtime/ftplugin/query.lua +++ b/runtime/ftplugin/query.lua @@ -33,3 +33,5 @@ end -- it's a lisp! vim.cmd([[ runtime! ftplugin/lisp.vim ]]) + +vim.b.undo_ftplugin = vim.b.undo_ftplugin .. ' | setl omnifunc< iskeyword<' -- cgit