Lewis Russell
ac5aba6dce
feat: add type annotations for modules
2024-11-14 17:25:54 +00:00
Lewis Russell
9521fe8be3
feat: nicer errors for failed stages
2024-11-13 15:46:02 +00:00
xzb
4daf7022f1
fix: use norm! to prevent user remapping
2024-11-04 09:45:01 +00:00
Lewis Russell
7c27a30450
fix: change assert to eprint
2024-10-30 16:14:42 +00:00
Michael Härtl
2d725fdd7f
fix: random errors from blame autocommands ( #1139 )
2024-10-28 19:12:51 +00:00
Antoine
ee7634ab4f
fix(blame): show same commit twice or more ( #1136 )
...
* fix(blame): show same commit twice or more
* feat: use ipairs() instead of pairs()
2024-10-20 14:27:40 +01:00
Lewis Russell
863903631e
fix: string.buffer not found
...
Fixes #1126
2024-09-27 09:14:46 +01:00
neeshy
356df59308
fix: handle terminal-only highlights
...
Also, use vim.api.nvim_get_hl instead of vim.api.nvim_get_hl_by_name
2024-09-26 11:21:54 +01:00
Péter Szabados
dcdcfcb15e
fix: diffthis vertical option
2024-09-26 11:19:24 +01:00
Lewis Russell
233bcbfda3
feat: use luajit buffers to serialize thread data
2024-09-26 11:18:12 +01:00
Lewis Russell
0cd4f0aa10
fix: handle repos with no commits
2024-09-26 11:16:42 +01:00
Artem Vasenin
2667904fb0
feat(blame_line): add option to show when not focused
2024-09-04 13:41:33 +01:00
Lewis Russell
899e993850
feat: detect repo errors
2024-08-28 10:09:32 +01:00
iofq
80214a857c
fix: sort get_nav_hunks to handle mixed hunk states
2024-08-25 20:18:18 +01:00
Lewis Russell
562dc47189
feat(async): add async.pcall
2024-08-07 12:16:17 +01:00
Lewis Russell
e6e3c3a139
feat: add staging and update locks
2024-08-07 10:50:35 +01:00
xzb
58bd9e98d8
fix: setqflist("all") should respect change_base
...
pass config.base as parameter to files_changed
check if base = ":0"
2024-08-04 18:44:46 +01:00
Yi Ming
564849a17b
fix(blame): restore original options when blame window is closed
2024-08-03 21:51:56 +01:00
Contsantine Bulany
0ed466953f
fix(blame)!: replace dot with dash in blame file type name
2024-08-02 09:26:27 +01:00
Lewis Russell
f074844b60
feat: add submodule support for gitsigns urls
...
Fixes #1095
2024-07-25 14:41:16 +01:00
Lewis Russell
6f8dbdbd41
fix: typo on dprint
2024-07-25 11:24:49 +01:00
Lewis Russell
1c128d4585
fix: wait for buffer to attach in M.show
...
Fixes #1091
2024-07-25 10:50:41 +01:00
Dennis B
1d2cb568a7
fix: derive Staged*Cul highlight correctly
...
The GitSignsStagedTopdeleteCul highlight (especially the foreground) was
very hard to read. It seems the issue was that
GitSignsStagedTopdeleteCul incorrectly derived from
GitSignsStagedChangeCul instead of the expected GitSignsChangedeleteCul.
So I think the fg_factor ended up being 0.5 of 0.5 equals .25,
foreground extremely dim.
Likely just a simply cut-and-paste oversight.
With this change the dim problem goes away.
2024-07-25 07:36:17 +01:00
Anton Rybianov
b29cb58126
feat: add highlights for the current line
2024-07-24 09:07:10 +01:00
Lewis Russell
f4928ba14e
feat(blame): add reblame at commit parent
2024-07-16 16:05:23 +01:00
Lewis Russell
d9f997dba7
fix: add cli binding for show
2024-07-15 17:10:49 +01:00
Lewis Russell
e9c4187c37
fix(blame): handle incremental output with a buffered reader
...
Fixes #1084
2024-07-12 14:57:33 +01:00
Lewis Russell
e784e5a078
fix: nil check for repo info
...
Fixes #1085 #1086
2024-07-12 09:24:44 +01:00
Lewis Russell
7178d1a430
fix: add nil check
2024-07-11 11:04:20 +01:00
Lewis Russell
375c44bdfd
fix: nil check for repo cache
2024-07-09 15:50:08 +01:00
Lewis Russell
2593efa3c5
feat: share Repo objects across buffers
2024-07-09 15:41:56 +01:00
Lewis Russell
220446c8c8
refactor: break up git.lua
2024-07-07 17:58:24 +01:00
belltoy
aa12bb9cd2
fix(blame): render blame end_col out of range
2024-07-07 14:43:03 +01:00
Lewis Russell
39b5b6f48b
fix: lint
2024-07-03 13:51:28 +01:00
Lewis Russell
82bc6225e9
refactor: organize imports
2024-07-03 12:08:06 +01:00
Lewis Russell
11cb53391b
refactor(git): remove some code
2024-07-03 11:50:20 +01:00
Lewis Russell
2e5719c79a
fix: get the repo version of the username
2024-07-03 11:50:20 +01:00
Lewis Russell
5840f89c50
fix(watcher): do not ignore any updates
...
Now the watcher handlers is debounced and throttled, the ignore list
is no longer necessary.
This avoids an issue where we sometimes trigger the handler too early
(as other files are still changing). Now the debounce and throttle logic
and take into account every single file change.
2024-07-03 10:47:34 +01:00
icefed
6b1a14eabc
fix(blame): show current buffer line blame immediately
...
fix a problem caused by commit: 8df63f2ddc
2024-06-28 15:09:48 +01:00
Lewis Russell
0595724fa9
fix(blame): parse blame info correctly
...
Fixes #1065
2024-06-27 10:01:23 +01:00
Lewis Russell
0e39e9afcf
fix: toggle_current_line_blame
...
Fixes #1072
2024-06-27 09:53:37 +01:00
Lewis Russell
fa42613096
feat(config): improve deprecation message
...
There are Neovim users who don't know how to configure highlights.
Adjust the deprecation message to include an example of how to set a
highlight.
2024-06-25 12:00:09 +01:00
Artyom Andreev
d0db8ef6a0
fix(blame): respect original blame winbar
2024-06-25 09:25:20 +01:00
Yi Ming
17e8fd6618
fix(blame): show the winbar if the main window has it enabled
2024-06-24 19:10:51 +01:00
Lewis Russell
8df63f2ddc
fix(blame): update current_line_blame when attaching
2024-06-21 15:21:24 +01:00
Lewis Russell
d03a1c9a10
fix(blame): include error message in error
2024-06-21 15:04:28 +01:00
Lewis Russell
e4efe9b99b
feat: set bufname for commit buffers
2024-06-21 13:24:22 +01:00
Lewis Russell
93c38d9726
fix(blame): popupmenu error
...
Fixes #1061
2024-06-21 12:57:27 +01:00
Lewis Russell
0dc886637f
feat(blame): set filetype to gitsigns.blame
...
Resolves #1049
2024-06-20 15:10:25 +01:00
Lewis Russell
9ca00df1c8
feat(blame): run formatter with pcall
...
If it fails, use the default format.
2024-06-20 15:00:12 +01:00