mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Fix an issue with AsyncRun.vim
Change the output of Python from Buffered to Unbuffered so that we can see the command output immediately instead of waiting for the command to finish to see the output. See https://github.com/skywind3000/asyncrun.vim/wiki/FAQ#cant-see-the-realtime-output-when-running-a-python-script and https://stackoverflow.com/questions/107705/disable-output-buffering.
This commit is contained in:
parent
417fb450a2
commit
5771a86c0d
@ -1,3 +1,3 @@
|
||||
if exists(':AsyncRun')
|
||||
nnoremap <silent> <F9> :AsyncRun python "%"<CR>
|
||||
nnoremap <silent> <F9> :AsyncRun python -u "%"<CR>
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user