Error when I wrote Chinese character in python file #148
Comments
What error? Could you post more informaton, including the reproducing steps. I don't have a Windows currently, and I cannot reproduce it on my vim8. |
@roxma To reproduce this bug:
en. There are more information in log file, and I can't catch the point. |
Use gist or paste bin for pasting log file. |
Like this log ? |
What's the error shown on the screen? I also need the result of And a minimal vimrc for reproducing the error. |
I can reproduce the error on my laptop with vimrc: set nocompatible
syntax on
filetype plugin indent on
set encoding=utf-8 fileencodings=ucs-bom,utf-8,gbk,gb18030,latin1 termencoding=utf-8
call plug#begin(expand('<sfile>:h') . '/plugged/')
Plug 'roxma/nvim-completion-manager'
if !has('nvim')
Plug 'roxma/vim-hug-neovim-rpc'
endif
call plug#end()
set encoding=cp936 It's working fine with |
vimrc: set nocompatible
set encoding=utf-8
set fileencoding=utf-8
set fileencodings=utf8,cp936,ucs-bom,latin1,chinese
call plug#begin('$VIM/vimfiles/plugged')
Plug 'roxma/nvim-completion-manager'
if !has('nvim')
Plug 'roxma/vim-hug-neovim-rpc'
endif
call plug#end() But I can't reproduce the error with the mini vimrc. It seems other setting caused it, I'll check my configuration, And test it on mac. thanks for your help. |
It's wierd that python is executing code in |
What's the result of
|
Interesting:
|
My guess: Replacing your python installation with python 3.6 or higher will fix this issue. |
It works fine on Mac. |
The screenshot you posted is triggered by logging. What does it look like without enabling logging? |
Oh, I can't reproduce the bug now. |
Ok. Update vim-hug-neovim-rpc to the latest version. And let's wait for the next release of neovim python client. // neovim/pynvim#276 // cc @justinmk |
It is 100% appear on my machine.
Have you ever had the same situation?
The text was updated successfully, but these errors were encountered: