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
Daniel Ebrahimian
d44a7948ff
fix(docs): Add signs_staged to default config in README
...
Update doc file
2024-07-03 10:47:57 +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
Lewis Russell
0349546134
fix(blame): track buffers changes correctly in the cache
2024-06-20 13:58:35 +01:00
Lewis Russell
bcae8395fb
refactor(blame): improve color calc
2024-06-20 12:27:29 +01:00
Lewis Russell
9cdfcb5f03
perf(blame): some improvements
...
- Ensure ':Gitsigns blame' utilizes the blame cache.
- Rewrite the blame runner to process output incrementally.
- Make the blame cache more efficient.
- Move the blame processing code to a separate module.
2024-06-20 12:26:55 +01:00
Ben Elan
89a4dce7c9
fix(attach): resolve error viewing fugitive trees ( #1058 )
2024-06-20 08:54:06 +01:00
Lewis Russell
651d5ed082
refactor: simplify deprecated config handling
2024-06-19 14:58:49 +01:00
Lewis Russell
92a8fbb845
feat!: remove current_line_blame_formatter_opts
...
- Also make relative time the default time format for current_line_blame_formatter
- When `current_line_blame_formatter` is passed as a function it is no
longer passed an opts argument.
2024-06-19 14:51:26 +01:00
Lewis Russell
61f5b64076
feat!: remove support for yadm
2024-06-19 14:37:25 +01:00
Lewis Russell
3d7e49c201
feat(config)!: deprecate highlight groups in config.signs
...
These fields haven't been documented for some time, so now hard
deprecate them.
2024-06-19 14:33:10 +01:00
Lewis Russell
9291836665
feat(nav): add target option
...
Allows `nav_hunk` to target staged, unstaged or all hunks.
2024-06-19 12:15:06 +01:00
Lewis Russell
7516bac563
fix(nav): misc bugs
...
- When constructing a list of hunks to consider for nav, make sure to
use copies.
- Adjust the loop in `Hunks.filter_common` to run an additional
iteration in order to finish processing.
2024-06-19 11:02:45 +01:00
Lewis Russell
3e9a98bc05
chore: update response action
2024-06-19 10:26:23 +01:00
Lewis Russell
ef54387324
chore: update issue template
2024-06-19 09:40:07 +01:00
Lewis Russell
def49e48c6
fix(util): ignore endofline when running blame
2024-06-18 17:15:20 +01:00
Lewis Russell
25b6ee4be5
feat(blame): add Gitsigns blame
...
Similar to fugitive blame.
Use `<CR>` on a commit line to open a menu with additional actions.
Release-As: 1.0.0
2024-06-18 17:08:59 +01:00
Lewis Russell
ceaa21f625
refactor: improve log messages output
2024-06-18 14:26:29 +01:00
Lewis Russell
f846c50724
fix(watcher): fix debounce
...
Fixes #1046
2024-06-18 10:34:56 +01:00
Lewis Russell
47c8e3e571
feat: tweak how commit buffers are processed
...
Previously when attaching to a commit buffer (via gitsigns or fugitive),
gitsigns would set the revision to diff against to the parent so the
signs of that commit would be displayed.
Now that we have staged signs, they are now used for that purpose, and
so the base is no longer set to the parent.
2024-06-13 15:03:27 +01:00
Lewis Russell
b8cf5e8efa
feat(signs): able staged signs by default
2024-06-13 12:01:16 +01:00
github-actions[bot]
0b04035bb7
chore(main): release 0.9.0
2024-06-13 11:56:19 +01:00
Lewis Russell
de18f6b749
fix(watcher): throttle watcher handler
...
Throttle (in addition to debounce) in case the debounce delay is not
enough and to prevent too many handlers from being launched (and
interleaved).
2024-06-12 16:42:16 +01:00
Lewis Russell
4a143f13e1
chore: add timestamp to debug messages
2024-06-07 13:24:11 +01:00
Lewis Russell
54b9df401b
fix(attach): fix worktree attaching
...
Fixes #1020
2024-06-07 13:16:59 +01:00
dundargoc
805c17f150
chore: fix typo
2024-06-07 09:43:35 +01:00
Lewis Russell
4b53134ce5
fix(watcher): workaround weird annoying libuv bug
...
Fixes #1027
2024-06-07 07:56:34 +01:00
Lewis Russell
379a5a915a
chore: update bug report template
2024-06-05 14:17:17 +01:00
Lewis Russell
e31d2149d9
fix: add workaround for Lazy issue
2024-06-05 10:17:10 +01:00
Lewis Russell
75dc649106
fix(attach): detach on when the buffer name changes
...
Fixes #1021
2024-05-29 10:00:48 +01:00
Lewis Russell
af3fdad8dd
fix: handle untracked files for custom bases
...
Fixes #1022
2024-05-28 10:02:32 +01:00
Lewis Russell
c96e3cf476
fix: scheduling in cwd watching
2024-05-28 09:41:58 +01:00