Provides an easy way to see the latest versions of the packages you depend on.
Currently supports:
- javascript:
package.json
- rust:
Cargo.toml
- python:
requirements.txtPipfilepyproject.toml
Default colors:
green: patch updatecyan: minor updatered: major update
Make sure you have node support for neovim. Run the command
npm install -g neovimto add it. #20
Use your favorite plugin manager to install the plugin. I use vim-plug.
Plug('rschristian/vim-package-info', {['do'] = 'npm install --omit=dev'})After installing the plugin, run :UpdateRemotePlugins to register it with Neovim.
Needs virtual text support. ( Neovim 0.3.2 )
Check if
echo has('nvim-0.3.2')returns 1
let g:vim_package_info_virtualtext_prefix = ' ¤ '
let g:vim_package_info_virtualtext_highlight = 'NonText'
There are three other highlight groups that you can change. You can change them like this
hi VimPackageInfoPatch guifg=#8BC34A
hi VimPackageInfoMinor guifg=#00BCD4
hi VimPackageInfoMajor guifg=#F44336
The plugin might conflict with ALE or any other plugins that use virtualtext.
This is because virtualtext context is the same for all the plugins and if one clears the virtualtext
it will clear the virtualtext that was made by all plugins.
Not a lot can be done about this, but in the case of ALE you can checkout #14.
Other options for you to checkout if this does not work for you
