-
Notifications
You must be signed in to change notification settings - Fork 170
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
nvim-qt takes a long time to quit and asks for user input when editing a python file with ropevim plugin. #341
Comments
Have the same problem, I don't use ropevim, it doesn't always happen though. |
possibly related to #394 . |
After installing the
where function! RopeExitingActions()
python ropevim.exiting_actions()
endfunction so it's definitely the same issue as #394. |
I would suggest to close this issue in favor of #394 as the test case is easier to reproduce. |
I second the motion, I am closing this for the time being. I will reopen this if it still happens after bug #394 is fixed. |
When editing a python file, with the ropevim plugin enabled (https://github.com/python-rope/ropevim), issuing the :q command, after a delay of several seconds nvim-qt asks the user to "Enter RETURN or command to continue" (I am using a localized version, so the English message may be inexact, the Italian one reads: "Premi INVIO o un comando per proseguire").
This also happen if editing a python file and a file of different type and the :qa command is issued from the pythn file buffer, but not if :qa is issued from the other buffer.
Steps to reproduce:
nvim-qt test.py
:q
Expected result:
nvim-qt quits immediately.
Note:
The console version of neovim does not manifest the issue.
Configuration;
Linux 4.12.0-2-amd64 #1 SMP Debian 4.12.13-1 (2017-09-19) x86_64 GNU/Linux
neovim (0.2.0-3)
neovim-qt (0.2.8-1)
rope (0.10.5)
ropemode (0.4)
ropevim (0.7.0)
Sample init.vim:
set nocompatible
if has('nvim')
let $VIMNAME='nvim'
else
let $VIMNAME='vim'
endif
if empty($XDG_CACHE_HOME)
let $XDG_CACHE_HOME=expand("$HOME/.cache")
endif
if empty($XDG_CONFIG_HOME)
let $XDG_CONFIG_HOME=expand("$HOME/.config")
endif
if empty($XDG_DATA_HOME)
let $XDG_DATA_HOME=expand("$HOME/.local/share")
endif
" Set Directory for plugins
let $XDG_VIM_PLUGINS=expand("$XDG_DATA_HOME/$VIMNAME/plugins")
set directory=$XDG_CACHE_HOME/$VIMNAME/swap//,
/,/tmp/,/tmpif has('persistent_undo')
set undofile
set undodir=$XDG_CACHE_HOME/$VIMNAME/undo//,
endif
set backupdir=$XDG_CACHE_HOME/$VIMNAME/backup//,~/,/tmp
set viminfo='100,n$XDG_CACHE_HOME/$VIMNAME/viminfo
set runtimepath+=$XDG_CONFIG_HOME/$VIMNAME
set runtimepath+=$XDG_CONFIG_HOME/$VIMNAME/after,$VIM,$VIMRUNTIME
let g:netrw_home=expand("$XDG_CACHE_HOME/$VIMNAME")"
let $PLUGIN_MANAGER=expand("$XDG_VIM_PLUGINS/repos/github.com/Shougo/dein.vim")
set runtimepath+=$PLUGIN_MANAGER
call dein#begin($XDG_VIM_PLUGINS)
call dein#add(expand('$PLUGIN_MANAGER'))
call dein#add('python-rope/ropevim')
""""""""""""""""
call dein#end()
call dein#save_state()
syntax enable
filetype on
filetype indent on
filetype plugin indent on
The text was updated successfully, but these errors were encountered: