Last active
May 23, 2018 09:21
-
-
Save macskay/5525225a53e1d9f0a57533eded680bd0 to your computer and use it in GitHub Desktop.
vim-syntastic Toggle Button for Location List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from my dotfiles | |
map <F8> <ESC>:call SyntasticToggle()<CR> | |
let g:syntastic_is_open = 0 | |
function! SyntasticToggle() | |
if g:syntastic_is_open == 1 | |
lclose | |
let g:syntastic_is_open = 0 | |
else | |
Errors | |
let g:syntastic_is_open = 1 | |
endif | |
endfunction | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment