summaryrefslogtreecommitdiff
path: root/ftplugin/ale-info.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/ale-info.vim')
-rw-r--r--ftplugin/ale-info.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/ale-info.vim b/ftplugin/ale-info.vim
index 65913a76..c2c794b2 100644
--- a/ftplugin/ale-info.vim
+++ b/ftplugin/ale-info.vim
@@ -14,3 +14,9 @@ endfunction
" Press space to open :help for an ALE Variable
nnoremap <buffer> <silent> <space> :call ALEInfoOpenHelp()<CR>
+
+let b:undo_ftplugin = get(b:, 'undo_ftplugin', 'execute')
+let b:undo_ftplugin .= ' | setlocal synmaxcol<'
+let b:undo_ftplugin .= ' | execute "silent! unmap <buffer> q"'
+let b:undo_ftplugin .= ' | execute "silent! nunmap <buffer> <space>"'
+let b:undo_ftplugin .= ' | delfunction! ALEInfoOpenHelp'