telescope-project.nvim
telescope-project.nvim copied to clipboard
E523: Not allowed here.
Hello,
I am consistently able to reproduce the above error. I'm not sure if I have a bad config or missing dependency.
OS: macOS Big Sur 11.5.2
Running NeoVIM version:
NVIM v0.5.0 Build type: Release LuaJIT 2.1.0-beta3 Compilation: clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/tmp/neovim-20210702-14987-rep9di/neovim-0.5.0/build/config -I/tmp/neovim-20210702-14987-rep9di/neovim-0.5.0/src -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/gettext/include -I/tmp/neovim-20210702-14987-rep9di/neovim-0.5.0/build/src/nvim/auto -I/tmp/neovim-20210702-14987-rep9di/neovim-0.5.0/build/include Compiled by brew@BigSur
Features: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.5.0/share/nvim"
Run :checkhealth for more info
If I perform the following:
- # vim .
- <CTRL-p> (Open project)
- type 'mas' (for master branch)
- backspace 3 chars to remove ('mas' from the window, it does not go away from the previous screen)
- type 'main' (for selecting main.tf)
- jjj (down 3 lines, not sure if this is significant)
- i (try to insert text) --- E523: Not allowed here
At this point I am unable to enter insert mode no matter what file I pick. I have to restart nvim to reset the state.
Sorry, but this is a too big config. At first glance I did not find the offending config. The setup for project detection also looks quite different in lua and I am not versatile in vimscript.
Can you bisect to a minimal plugin config? Its easier to use git for this, ie with dotfiles. You could use my dotfile skeleton for this.
Hi there,
Sure. I will update this issue once I narrow it down.
Jason
Ok. So this plugin seems to be causing the issue.
https://github.com/Shougo/deoplete.nvim
Can you confirm?
Can you confirm?
Can you provide a minimal init.vim, so I can try it?
type 'main' (for selecting main.tf) jjj (down 3 lines, not sure if this is significant) i (try to insert text) --- E523: Not allowed here
Your instructions are incomplete or not logically consistent to me:
- The first pick of the project with backspace deletes the text in the insertion window, so there is nothing to delete.
- jjj would insert 3 j's. Did you escape to leave insertion mode?
- Or did you hit the second time backspace to open the file main.tf?
- Does the error not occur once you remove deoplete?
- I suspect
exprornoremapbreaking stuff as motivated here. Would not be the first time that plugins with default mappings have weird effects.