An open API service indexing awesome lists of open source software.

https://github.com/nathom/diffstatus.nvim

Lightweight diff status viewer for neovim
https://github.com/nathom/diffstatus.nvim

Last synced: about 1 month ago
JSON representation

Lightweight diff status viewer for neovim

Awesome Lists containing this project

README

        

# diffstatus.nvim

A lightweight lua plugin that gives you the number of lines
added/removed in a file using git.

## Usage

```lua

-- mapping from filename to a 2 item table containing lines
-- added and removed

local index = require('diffstatus').index

for filename, status in pairs(index) do

print(filename .. ': ' .. status[1] .. ' lines added,
' .. status[2] .. 'lines removed')

end

```