Lewis Russell
2eaa305373
ci: resolve failures
CI / doc (push) Waiting to run
CI / commit_lint (push) Waiting to run
CI / test (nightly) (push) Waiting to run
CI / test (v0.10.0) (push) Waiting to run
CI / test (v0.9.5) (push) Waiting to run
CI / lint (push) Waiting to run
release-please / release-please (push) Waiting to run
release-please / luarocks-upload (push) Blocked by required conditions
release-please / update-doc (push) Blocked by required conditions
2025-01-08 14:08:46 +00:00
Lewis Russell
2593efa3c5
feat: share Repo objects across buffers
2024-07-09 15:41:56 +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
d9d94e055a
feat!: drop support for nvim v0.8
2024-05-23 09:39:58 +01:00
Lewis Russell
a28bb1db50
fix(update): always get object contents from object names
...
Fixes #847
2024-05-22 16:29:01 +01:00
Lewis Russell
c02516144a
refacto: misc refactoring ( #983 )
2024-04-16 17:27:19 +01:00
Lewis Russell
4db6e85152
chore: stylua
2024-04-03 17:21:49 +01:00
Lewis Russell
096d0833f7
test: migrate to nvim-test
2024-04-03 16:56:07 +01:00
Lewis Russell
4a1bc2ef16
test: fix nightly
2024-04-03 14:45:10 +01:00
Lewis Russell
fb9fd53124
fix(hl): highlights for Nvim v0.9
...
Resolves #939
2024-01-26 15:21:23 +00:00
Lewis Russell
47a1e8fd09
test: fix type annotations
2024-01-25 17:12:09 +00:00
Lewis Russell
590d077c55
feat!: change default of attached_to_untracked to false
2024-01-25 16:48:27 +00:00
Jongwook Choi
017c924e20
test: use the classic vim colorscheme for nvim nightly
2023-12-10 17:40:37 +00:00
Lewis Russell
ff01d34daa
test: more tidying
2023-10-06 09:04:46 +01:00
Lewis Russell
2929386210
chore: stylua test code
2023-10-05 16:25:10 +01:00
Lewis Russell
2272cf9f0c
fix: issue #888
...
Fixes #888
2023-10-03 15:49:48 +01:00
Lewis Russell
317c98d64c
feat(diff): allow to diff against the working version
...
The `base` can now be set to `FILE` to diff against the working version.
Resolves #164
2023-10-02 12:14:20 +01:00
Lewis Russell
badaef04f8
test: refactor
2023-10-01 16:43:30 +01:00
Lewis Russell
88be2b44d6
test: reduce delays
2023-10-01 16:43:30 +01:00
Lewis Russell
0828f7e4a7
test: cleanup setup
2023-09-22 12:40:08 +01:00
Lewis Russell
cdf724f885
test: nvim 0.10 change for decor provider win range
2023-09-22 12:24:42 +01:00
Lewis Russell
79127db3b1
fix(diff): better handling of final newline
...
Fixes #779
2023-08-25 13:32:03 +01:00
Lewis Russell
a56fb7cc42
refactor(tests): tidy up
2023-06-19 12:46:25 +01:00
Lewis Russell
f1378831b1
feat(watcher): move from libuv poll to file event watcher
2023-06-19 11:22:33 +01:00
Lewis Russell
4bbfb06cf7
fix: vendor testsuite
2023-06-13 15:32:14 +01:00
Lewis Russell
f965e3bad0
perf: reduce startup time
2023-03-01 16:34:52 +00:00
Sindre T. Strøm
ec4742a7ee
feat: Enable attach()
to work with any buffer when given context data
...
* feat: Enable `attach()` to work with any buffer when given context data.
* fix(test): Pattern escape file names when matching debug messages.
2023-02-03 09:25:22 +00:00
Lewis Russell
fa1e8c589a
feat(signs): different add signs for untracked files
...
Resolves #569
2022-11-07 10:40:47 +00:00
Lewis Russell
f623543458
chore(ci)!: drop support for v0.6.x
2022-10-07 14:02:11 +01:00
Lewis Russell
a0cd6ccd73
chore!: remove deprecated fields
2022-09-13 09:28:42 +01:00
Lewis Russell
50e32c6309
feat: support for detached working trees
...
Added config.worktrees.
Array of tables with the keys 'gitdir' and 'toplevel'.
If attaching normally fails, then each entry in the table is attempted.
Example:
worktrees = {
{
toplevel = vim.env.HOME,
gitdir = vim.env.HOME .. '/projects/dotfiles/.git'
}
}
Resolves #397
2022-08-10 11:15:42 +01:00
Lewis Russell
44372ff5dc
fix: improve fix for #521
2022-05-24 11:45:33 +01:00
Lewis Russell
d0b42c0fc7
fix(git): add --literal-pathspecs
2022-04-15 16:45:16 +01:00
Lewis Russell
420db8ddb9
feat(blame): support format strings
...
- config.current_line_blame_formatter can now be specified as a format
string.
- changed default of `config.current_line_blame_formatter` to
'<author>, <author_time:%R> - <summary>' which is equivalent to the
previous function default.
- deprecated config.current_line_blame_formatter_opts
Resolves #291
2022-02-13 15:23:41 +00:00
Lewis Russell
b4548e4c60
refactor(highlights)!: rework highlights
...
- Added GitSigns*Inline and GitSigns*LnInline to be used with word diff
- GitSigns*LnInline is used for word diff with config.word_diff
- GitSigns*Inline is used for word diff in hunk previews
- Added GitSigns*VirtLn and GitSigns*VirtLnInline to be used with
`config.show_deleted`.
- Define GitSigns highlights conditionally as opposed to only defining
them if certain features are enabled.
2022-01-26 17:33:24 +00:00
Lewis Russell
d19029adca
fix(): support filepaths with unicode characters
...
Fixes #447
2022-01-20 17:20:43 +00:00
Sergey Kuznetsov
7aad5257fa
Hope the last tests fix
2022-01-11 16:16:47 +00:00
Sergey Kuznetsov
ee5e46450e
Another try to fix tests
2022-01-11 16:16:47 +00:00
Sergey Kuznetsov
cf8e4df8d8
Fix tests
2022-01-11 16:16:47 +00:00
Fabian Viöl
9084e084f8
fix(blame_line): Do not omit carriage return
...
When blaming a line on a file, which as the "dos" fileformat
which is also checked in as a "dos" format including the
carriage returns, gitsigns.nvim currently reports
"Not yet commited" caused by an unsucessfull blame call
to git.
This commit fixes that behavior by appending the carriage
return lines again
2021-12-13 12:56:01 +00:00
Lewis Russell
caf51af051
fix(windows): Fix CRLF handling
...
Fixes #410
2021-12-08 22:15:22 +00:00
Lewis Russell
f362e54e11
feat(actions): true partial hunk staging
...
Resolves #338
2021-12-04 18:38:52 +00:00
Lewis Russell
805b12a9b7
chore(refactor): refactor Hunk object
...
So added and removed lines are kept in separate tables
2021-09-27 13:11:12 +01:00
Lewis Russell
c81aa3b690
feat(deprecated): only warn hard deprecations
...
Add deprecations to doc.
When fields are now initially deprecated, no warning messages will be
displayed. However if a deprecated field is marked with hard, then a
warning will be issued.
At the beginning of each release cycle, all deprecated fields will be
marked as hard and fields that were already marked as hard will be
removed.
2021-09-27 12:09:47 +01:00
Lewis Russell
489fe088c4
fix(watcher): watch gitdir instead if index
...
Some git command likes `git checkout -b` do no update .git/index.
Instead watch the git dir itself to capture all git operations.
Renamed config.watch_index -> config.watch_gitdir
Fixes #377
2021-09-24 16:30:10 +01:00
Lewis Russell
aa2522a6f3
fix(blame_line): don't error in fresh repo
2021-09-11 14:15:46 +01:00
Lewis Russell
34deec2813
Add config.diff_opts and deprecate fields
...
- DEPRECATED diff_algorithm
replaced with diff_opts.algorithm
- DEPRECATED use_internal_diff
replaced with diff_opts.internal
- ADDED diff_opts.indent_heuristic
2021-09-09 13:58:07 +01:00
Lewis Russell
3cd0656e14
handle deprecated fields more generically
2021-09-09 12:34:09 +01:00
Lewis Russell
7e5a748f34
feat: add g:gitsigns_head
...
Head value based on cwd
Resolves #344
2021-09-07 16:31:49 +01:00