fix(runtime): stop treesitter highlight in b:undo_ftplugin #38459

Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
This commit is contained in:
Eisuke KawashimaandEisuke Kawashima authored and GitHub committed 2026-03-24 05:17:02 -04:00
1 parent 929f03fa8c
commit 39bb5d7ca2
1 file changed
+1
+1
View File
@@ -12,5 +12,6 @@ vim.keymap.set('n', '[[', function()
end, { buf = 0, silent = false, desc = 'Jump to previous section' })
vim.b.undo_ftplugin = (vim.b.undo_ftplugin or '')
.. '\n call v:lua.vim.treesitter.stop()'
.. '\n sil! exe "nunmap <buffer> gO"'
.. '\n sil! exe "nunmap <buffer> ]]" | sil! exe "nunmap <buffer> [["'