Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9867fd6f8
|
||
|
|
facd7bb0f2
|
||
|
|
1e3e51d845
|
No files matched your search
+1
-1
@@ -20,4 +20,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Configurable command name via `command` option
|
- Configurable command name via `command` option
|
||||||
- `picker` option to force fallback UI for testing
|
- `picker` option to force fallback UI for testing
|
||||||
|
|
||||||
[0.1.0]: https://github.com/swaits/tiny-packupdate.nvim/releases/tag/v0.1.0
|
[0.1.0]: https://git.swaits.com/swaits/tiny-packupdate.nvim/releases/tag/v0.1.0
|
||||||
@@ -28,7 +28,7 @@ https://github.com/user-attachments/assets/TODO-SCREENCAST
|
|||||||
Add to your `vim.pack.add()` call:
|
Add to your `vim.pack.add()` call:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
"https://github.com/swaits/tiny-packupdate.nvim",
|
"https://git.swaits.com/swaits/tiny-packupdate.nvim",
|
||||||
```
|
```
|
||||||
|
|
||||||
Then in your config:
|
Then in your config:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
*tiny-packupdate.txt* Minimal vim.pack updater with progress bar & results picker
|
*tiny-packupdate.txt* Minimal vim.pack updater with progress bar & results picker
|
||||||
|
|
||||||
Author: Stephen Waits <https://github.com/swaits>
|
Author: Stephen Waits <https://git.swaits.com/swaits>
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@@ -31,7 +31,7 @@ changelogs, and an optional snacks.nvim picker for browsing results.
|
|||||||
|
|
||||||
Add to your |vim.pack.add()| call: >lua
|
Add to your |vim.pack.add()| call: >lua
|
||||||
|
|
||||||
"https://github.com/swaits/tiny-packupdate.nvim",
|
"https://git.swaits.com/swaits/tiny-packupdate.nvim",
|
||||||
<
|
<
|
||||||
Then in your config: >lua
|
Then in your config: >lua
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,19 @@ local function show_results(results)
|
|||||||
title = cfg.command .. " Results",
|
title = cfg.command .. " Results",
|
||||||
items = items,
|
items = items,
|
||||||
preview = "preview",
|
preview = "preview",
|
||||||
layout = { preset = "ivy" },
|
layout = {
|
||||||
|
hidden = { "input" },
|
||||||
|
layout = {
|
||||||
|
box = "horizontal",
|
||||||
|
width = 0.9,
|
||||||
|
height = 0.9,
|
||||||
|
border = "rounded",
|
||||||
|
title = "{title}",
|
||||||
|
title_pos = "center",
|
||||||
|
{ win = "list", border = "none", width = 0.3 },
|
||||||
|
{ win = "preview", title = "{preview}", border = "left", width = 0.7 },
|
||||||
|
},
|
||||||
|
},
|
||||||
format = function(item)
|
format = function(item)
|
||||||
return { { item.text } }
|
return { { item.text } }
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in new issue
Block a user