p00f / cphelper.nvim

Neovim helper for competitive programming. Use https://sr.ht/~p00f/cphelper.nvim instead
MIT License
130 stars 9 forks source link

CphReceive not waiting. #8

Closed anurag3301 closed 3 years ago

anurag3301 commented 3 years ago

cphelper was working fine I was really enjoying it. But I dont know what happed now when I run :CphReceive its not waiting for me to click the Parse Task button.

https://user-images.githubusercontent.com/52702259/127115029-2a418a2e-561f-4b32-bac4-141a4488534b.mp4

Can you please help me out? My nvim config: github output of :version

NVIM v0.5.0                                                                                                                             
Build type: Release                                                                                                                     
LuaJIT 2.0.5                                                                                                                            
Compilation: /usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVI
M_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=always -DINCLUDE_GENERATED_D
ECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim/src/neovim-0.5.0/build/
config -I/build/neovim/src/neovim-0.5.0/src -I/usr/include -I/build/neovim/src/neovim-0.5.0/build/src/nvim/auto -I/build/neovim/src/neov
im-0.5.0/build/include                                                                                                                  
Compiled by builduser                                                                                                                   

Features: +acl +iconv +tui                                                                                                              
See ":help feature-compile"                                                                                                             

   system vimrc file: "$VIM/sysinit.vim"                                                                                                
  fall-back for $VIM: "/usr/share/nvim"                                                                                                 

Run :checkhealth for more info 
anurag3301 commented 3 years ago

when I run :debug CpReceive

https://user-images.githubusercontent.com/52702259/127116195-2be41d63-f680-4b0c-8677-3564cd91dc00.mp4

p00f commented 3 years ago

I tested it with neovim 0.5, it works for me. Can you try updating the plugin? If that doesn't work, can you try removing packer's luarocks (rm ~/.cache/nvim/packer_hererocks/ -r), remove the plugin (comment it out and run :PackerClean) and run :PackerInstall again?

anurag3301 commented 3 years ago

Yep, now it's working. Thanks for the help.