Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n-shift/lens.nvim
Git workflow for neovim
https://github.com/n-shift/lens.nvim
Last synced: about 2 months ago
JSON representation
Git workflow for neovim
- Host: GitHub
- URL: https://github.com/n-shift/lens.nvim
- Owner: n-shift
- Created: 2022-03-21T11:47:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-21T13:54:56.000Z (almost 3 years ago)
- Last Synced: 2024-08-07T18:32:09.538Z (5 months ago)
- Language: Fennel
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# lens.nvim
lens.nvim is a fennel plugin for neovim that takes your git workflow into neovim.
## Potential features
- full wrapper around `git commit` and git staging
- full wrapper around `pull/push` workflow
- conflicts resolver
- viewing previous versions of file
- autoblaming current line
- hover with git info
- manager of remotes
- interactive rebase
- statusline component providers
## Current features
- commit staged files
## Usage
### Commit
```lua
require("lens.commit").open() -- Open commit buffer
require("lens.commit").process() -- Commit based on text inside commit buffer
```
## Credits
This plugin is inspired by [neogit](https//github.com/TimUntersberger/neogit) and [gitlens](https//github.com/gitkraken/vscode-gitlens) plugins.
## Contributing
Since this plugin is written in fennel here is how you can contribute to it: ### Without Olical/aniseed installed
Edit autogenerated `lua` files and add `LUA` into your PR title. After that one of core contributors will edit your PR with recreating your Lua changes in fennel.
### With Olical/aniseed installed
After you made changes inside `fnl` files and you are ready to commit source `compile.lua` file in repository.
It calls `aniseed` plugin under the hood and compiles fennel into Lua.
> Note: fennel compiler will probably be changed to [tangerine.nvim](https//github.com/udayvir-singh/tangerine.nvim) after it hits stable.