diff options
Diffstat (limited to 'runtime/ftplugin/help.lua')
-rw-r--r-- | runtime/ftplugin/help.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/ftplugin/help.lua b/runtime/ftplugin/help.lua index 86e181504f..0628a3e9ca 100644 --- a/runtime/ftplugin/help.lua +++ b/runtime/ftplugin/help.lua @@ -30,3 +30,5 @@ end vim.keymap.set('n', 'gO', function() require('vim.vimhelp').show_toc() end, { buffer = 0, silent = true }) + +vim.b.undo_ftplugin = vim.b.undo_ftplugin .. ' | nunmap <buffer> gO' |