mirror of
https://github.com/neovim/neovim.git
synced 2026-03-27 19:02:02 +00:00
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:
@@ -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> [["'
|
||||
|
||||
Reference in New Issue
Block a user