diff options
| -rw-r--r-- | after/ftplugin/python.vim | 2 | ||||
| -rw-r--r-- | options.vim | 1 | ||||
| -rw-r--r-- | plugins.vim | 4 |
3 files changed, 6 insertions, 1 deletions
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 <silent> <F9> :AsyncRun python "%"<CR> + nnoremap <silent> <F9> :AsyncRun python -u "%"<CR> 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 <silent> <ScrollWheelUp> :call comfortable_motion#flick(-40)<CR> """""""""""""""""""""""""" 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 "}} "} |
