-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Willem Jan Noort
committed
Jun 24, 2024
1 parent
718aec1
commit 3a4db14
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# adopure.nvim | ||
|
||
The plugin provides an opinionated workflow to interact with Azure DevOps Pull Requests. | ||
|
||
## Installation | ||
|
||
- Requires Neovim >= 0.10 | ||
- Installation: | ||
``` lua | ||
{ | ||
"Willem-J-an/adopure.nvim", | ||
dependencies = { | ||
"nvim-lua/plenary.nvim", | ||
"nvim-telescope/telescope.nvim" | ||
}, | ||
config = function() | ||
vim.g.adopure = {} | ||
end, | ||
} | ||
``` | ||
|
||
## Usage | ||
``` | ||
:AdoPure [ load ] [ context | threads ] [ opts ] | ||
[ open ] [ quickfix | thread_picker | new_thread | existing_thread ] [ opts ] | ||
[ submit ] [ comment | vote | thread_status ] [ opts ] | ||
``` | ||
|
||
command | subcommand | description | ||
-- | -- | -- | ||
load | " " | Loads specified argument into state. | ||
" " | context | Load open pull requests; prompt user to pick one. | ||
" " | threads | Fetch comment threads from Azure DevOps. | ||
open | " " | Opens specified argument in the editor. | ||
" " | quickfix | Open comment threads in quickfix window. | ||
" " | thread_picker | Open a picker with all comment threads. | ||
" " | new_thread | Opens a window to write a comment on code selection. | ||
" " | existing_thread | Opens a window with an existing comment thread. | ||
submit | " " | Submits specified argument to Azure DevOps. | ||
" " | comment | Submit new comment or reply; must be in new_thread or existing_thread window. | ||
" " | vote | Submit a new vote on the pull request. | ||
" " | thread_status | Submit a thread_status change; must be in existing_thread window. |