Skip to content

Commit 4baf15a

Browse files
committed
fix(#388): fix incorrect key maps displayed in project_logs_preview
1 parent ca4b0dd commit 4baf15a

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Enable live blame annotations directly in your editor to see the author and comm
102102
> Releases prior to the major versions will no longer be maintained.
103103
> Branch `v1.0.x` contains several new features and massive optimizations but unfortunately also contains several breaking and deprecated changes.
104104
> For the time being the main branch will still be following `v0.2.x` while core users slowly migrate to `v1.0.x` without breaking their current workflow.
105-
> New users please use tag `v1.0.4` or branch `v1.0.x` for the latest changes!
105+
> New users please use tag `v1.0.5` or branch `v1.0.x` for the latest changes!
106106
107107
---
108108

@@ -111,7 +111,7 @@ Using [packer.nvim](https://github.com/wbthomason/packer.nvim)
111111
```lua
112112
use {
113113
'tanvirtin/vgit.nvim', branch = 'v1.0.x',
114-
-- or , tag = 'v1.0.4',
114+
-- or , tag = 'v1.0.5',
115115
requires = { 'nvim-lua/plenary.nvim', 'nvim-tree/nvim-web-devicons' },
116116
-- Lazy loading on 'VimEnter' event is necessary.
117117
event = 'VimEnter',
@@ -124,7 +124,7 @@ Using [lazy.nvim](https://github.com/folke/lazy.nvim)
124124
```lua
125125
{
126126
'tanvirtin/vgit.nvim', branch = 'v1.0.x',
127-
-- or , tag = 'v1.0.4',
127+
-- or , tag = 'v1.0.5',
128128
dependencies = { 'nvim-lua/plenary.nvim', 'nvim-tree/nvim-web-devicons' },
129129
-- Lazy loading on 'VimEnter' event is necessary.
130130
event = 'VimEnter',

lua/vgit/features/screens/ProjectLogsScreen/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ function ProjectLogsScreen:constructor(opts)
2424
keymaps = function()
2525
local keymaps = project_logs_preview_setting:get('keymaps')
2626
return {
27-
{ keymaps['previous'] },
28-
{ keymaps['next'] },
27+
{ 'Previous', keymaps['previous'] },
28+
{ 'Next', keymaps['next'] },
2929
}
3030
end,
3131
pagination = function()

lua/vgit/ui/views/PaginationView.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
local Object = require('vgit.core.Object')
2-
local dimensions = require('vgit.ui.dimensions')
31
local KeyHelpBarView = require('vgit.ui.views.KeyHelpBarView')
42

53
local PaginationView = KeyHelpBarView:extend()

0 commit comments

Comments
 (0)