Fix the documentation somewhat

This commit is contained in:
Maximilian Friedersdorff 2024-10-22 10:16:45 +01:00
parent 6c05ee60b5
commit 298fa387c8

View file

@ -1,11 +1,8 @@
# openingh.nvim
Opens the current file or project page in GitHub.
Opens the current file or project page in the web interface of the remote.
![Lua](https://img.shields.io/badge/Made%20with%20Lua-blueviolet.svg?style=for-the-badge&logo=lua)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/almo7aya/openingh.nvim?style=for-the-badge)
[![lint with luacheck](https://img.shields.io/github/actions/workflow/status/almo7aya/openingh.nvim/lint.yml?style=for-the-badge)](https://github.com/Almo7aya/openingh.nvim/actions/workflows/lint.yml)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/almo7aya/openingh.nvim/ci.yml?label=TESTS&style=for-the-badge)
- Features
- Supports macOS, Linux, Windows and WSL
@ -30,21 +27,21 @@ Opens the current file or project page in GitHub.
```lua
-- init.lua
require("packer").startup(function()
use "almo7aya/openingh.nvim"
use "https://gitea.gwairfelin.com/max/openingh.nvim"
end)
```
## Commands
- `:OpenInGHRepo`
- Opens the project's git repository page in GitHub.
- Opens the project's git repository page in the remote.
- `:OpenInGHFile`
- Opens the current file page in GitHub. This command supports ranges.
- Opens the current file page in the remote.
- `:OpenInGHFileLines`
- Opens the current file page in GitHub. This command supports ranges.
- Opens the current file page in the remote, with the lines highlighted. This
command supports ranges.
## Registers
@ -88,4 +85,3 @@ Feel free to open an issue or a pull request if you have any suggestions or impr
## License
[MIT](./LICENSE)