add b:undo_ftplugin (#4625)

This commit is contained in:
D. Ben Knoble
2023-11-19 04:13:56 -05:00
committed by GitHub
parent 5cddc4c8e1
commit 1ccd99e113
4 changed files with 27 additions and 0 deletions

View File

@@ -1,2 +1,5 @@
" Close the ALEPreviewWindow window with the q key.
noremap <buffer> q :q!<CR>
let b:undo_ftplugin = get(b:, 'undo_ftplugin', 'execute')
let b:undo_ftplugin .= ' | execute "silent! unmap <buffer> q"'