Skip to content

robertazzopardi/depsync.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DepSync

A simple plugin to sync dependencies in a dependency files and display the differences inline in the open buffer.

Features

  • Display differences inline in the editor
  • Update dependencies in dependency file

Preview

DepSyncNpm

DepSync

Requirements

  • Npm - For package.json support
  • Cargo - For Cargo.toml support

Installation

This plugin has been tested with lazy.nvim

{
    'robertazzopardi/depsync.nvim',
    config = function()
      require('depsync').setup()
    end
},

Usage

  • :DepSync - Sync dependencies and show diffs in buffer
  • :DepSyncUpdate - Update all dependencies
  • :DepSyncUpdate {dependency} - Update a specific dependency

Contribution

All contribution is welcome! I'll be adding support for different package managers as I need them but feel free to open an issue or PR if you need support for a specific package manager.