diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim index a0bc092..67eb0c8 100644 --- a/after/ftplugin/python.vim +++ b/after/ftplugin/python.vim @@ -1,3 +1,3 @@ if exists(':AsyncRun') - nnoremap :AsyncRun python "%" + nnoremap :AsyncRun python -u "%" endif diff --git a/options.vim b/options.vim index 210cbe6..c4df36d 100644 --- a/options.vim +++ b/options.vim @@ -141,6 +141,7 @@ let g:MY_DICT = expand(g:nvim_config_root . '/dict/words') let &dictionary = &dictionary . ',' . g:MY_DICT set spelllang=en,cjk " Spell languages +set spellsuggest+=10 " The number of suggestions shown in the screen for z= " Align indent to next multiple value of shiftwidth. For its meaning, " see http://tinyurl.com/y5n87a6m diff --git a/plugins.vim b/plugins.vim index aba7477..cb51cca 100644 --- a/plugins.vim +++ b/plugins.vim @@ -832,5 +832,9 @@ noremap :call comfortable_motion#flick(-40) """""""""""""""""""""""""" asyncrun.vim settings """""""""""""""""""""""""" " Automatically open quickfix window of 6 line tall after asyncrun starts let g:asyncrun_open = 6 +if has('win32') + " Command output encoding for Windows + let g:asyncrun_encs = 'gbk' +endif "}} "}