-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编辑 /etc/shadowsocks/local.json 出错 #361
Labels
Comments
Fix了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vim --version
ornvim --version
: NVIM v0.4.2:echo has("python")
: 1:echo has("python3")
: 1:echo &pythondll
(only vim, not neovim)::echo &pythonthreedll
(only vim, not neovim)::py print(sys.version)
: 2.7.16 (default, Mar 11 2019, 18:59:25):py3 print(sys.version)
: 3.7.4 (default, Jul 16 2019, 07:12:58):echo g:Lf_Debug_Cmd
::echo g:Lf_FilesFromCache
:nnoremap f :LeaderfFile
nnoremap fl :LeaderfLine
nnoremap ft :LeaderfBufTag
nnoremap fu :LeaderfFunction
nnoremap b :LeaderfBuffer
Describe your question, feature request, or bug.
编辑 /etc/shadowsocks/local.json 文件,保存文件时,出现如下错误信息:
Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/ivan/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/gtagsExpl.py", line 57, in _processTask
task()
File "/home/ivan/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/gtagsExpl.py", line 435, in _update
lfCmd("let g:Lf_Debug_Gtags = '%s'" % escQuote(str((filename, root))))
File "/usr/lib/python3.7/site-packages/pynvim/api/nvim.py", line 287, in command
return self.request('nvim_command', string, **kwargs)
实际测试sudo nvim 编辑一个json文件,保存时没有错误输出,目前只有编辑上述文件出现错误。
Steps to reproduce
编辑 /etc/shadowsocks/local.json 保存时出现错误。
Actual behaviour
出现错误,回车确认,再次输出如下错误,一共三次,错误消失
Expected behaviour
成功保存,没有错误输出
The text was updated successfully, but these errors were encountered: