Created
August 26, 2014 12:20
-
-
Save mopp/065ef1dbce439bbfed53 to your computer and use it in GitHub Desktop.
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
augroup check_listed | |
autocmd! | |
autocmd BufAdd * call s:check(expand("<abuf>")) | |
augroup END | |
function! s:check(bufnr) | |
echomsg 'Result of buflisted() = ' . string(buflisted(a:bufnr)) | |
endfunction | |
echo 'load' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment