stevearc / gkeep.nvim

Google Keep integration for Neovim
MIT License
192 stars 6 forks source link

Not an editor command: UpdateRemotePlugins #5

Closed vnovichek closed 2 years ago

vnovichek commented 2 years ago

Describe the bug UpdateRemotePlugins is absent.

Version information

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

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

 - Gkeep: 

gkeep: health#gkeep#check

gkeep

│ - OK: gkeepapi 0.13.7 installed │ - OK: keyring installed │ - ERROR: Remote plugin not found │ - ADVICE: │ │ - Try running :UpdateRemotePlugins and restart

stevearc commented 2 years ago

Well that's interesting since UpdateRemotePlugins is a built-in command (see :help UpdateRemotePlugins). A quick google around suggested that possibly the internal script hasn't been loaded yet for you. I'm not sure how this could happen, but try

:runtime! plugin/rplugin.vim
:UpdateRemotePlugins

You may also need to set let g:loaded_remote_plugins = 0 before. For further diagnosis, the command should be defined in rplugin.vim. If you run :scriptnames, you should see that file in there somewhere (for me it shows up as 60: /tmp/.mount_nvimk4sNN2/usr/share/nvim/runtime/plugin/rplugin.vim)

vnovichek commented 2 years ago

Thanks a lot, my bad, deep down in my lua configs there was a line: vim.g.loaded_remote_plugins = 1. Commenting it out helped.