diff options
Diffstat (limited to 'runtime/ftplugin/lua.lua')
-rw-r--r-- | runtime/ftplugin/lua.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/ftplugin/lua.lua b/runtime/ftplugin/lua.lua index 98f218e36e..75deb6b190 100644 --- a/runtime/ftplugin/lua.lua +++ b/runtime/ftplugin/lua.lua @@ -1,2 +1,4 @@ -- use treesitter over syntax vim.treesitter.start() + +vim.b.undo_ftplugin = (vim.b.undo_ftplugin or '') .. '\n call v:lua.vim.treesitter.stop()' |