summaryrefslogtreecommitdiff
path: root/ftplugin/ale-fix-suggest.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/ale-fix-suggest.vim')
-rw-r--r--ftplugin/ale-fix-suggest.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/ale-fix-suggest.vim b/ftplugin/ale-fix-suggest.vim
index 189a4dc2..42ade0fd 100644
--- a/ftplugin/ale-fix-suggest.vim
+++ b/ftplugin/ale-fix-suggest.vim
@@ -1,2 +1,5 @@
" Close the ALEFixSuggest 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"'