Commit Graph

856 Commits

Author SHA1 Message Date
Lewis Russell 1a50b94066 fix: check bcache in get_hunks
Fixes #979
Closes #981
2024-04-07 09:24:20 +01:00
Lewis Russell 81369ed540 fix: attach to fugitive and gitsigns buffers
Resolved #593
2024-04-05 16:14:48 +01:00
Lewis Russell 320b232fb4 refactor: remove unused field 2024-04-05 15:08:38 +01:00
Lewis Russell ade22fc9b9 chore: format 2024-04-05 14:21:10 +01:00
Lewis Russell ec6aab13ef feat(autocmd) add GitSignsChanged
Resolves #507
2024-04-05 14:19:06 +01:00
Lewis Russell ee5b6ba0b5 fix(nav): followup for #976 2024-04-05 13:52:40 +01:00
Lewis Russell 59bdc1851c feat(nav): add nav_hunk()
- Deprecated `next_hunk()` and `prev_hunk()`.
- Can now navigate to the first/last hunk using `nav_hunk('first'|'last')`.
- Added `count` to navigation options. Defaults to `v:count1`.
- Updated recommended keymaps for navigation.
- Navigation actions now navigate to the first non-blank column.
2024-04-05 13:35:49 +01:00
Lewis Russell c0936237f2 fix: check for WinResized 2024-04-05 13:09:45 +01:00
Lewis Russell 5f267aa2fe fix(blame): put ignore-revs-file in correct position
Fixes #975
2024-04-05 09:55:16 +01:00
Lewis Russell fa052c20aa chore: format 2024-04-04 14:56:32 +01:00
Lewis Russell f0733b793a fix(current_line_blame): update on WinResized
Fixes #966
2024-04-04 14:54:44 +01:00
Lewis Russell 826ad69429 fix: do not error when cwd does not exist 2024-04-04 14:49:31 +01:00
Lewis Russell 3358280054 feat(blame): support extra options
Closes #953
Resolves #959
2024-04-04 14:15:15 +01:00
Lewis Russell 1389134ba9 fix: trigger GitSignsUpdate autocmd more often
Resolves #831 #832
2024-04-04 11:40:34 +01:00
Lewis Russell 2b96835a2b fix(actions): prev_hunk works with wrap on line 1
Fixes #806
2024-04-04 11:00:03 +01:00
Lewis Russell 224a319eda docs: add documentation for current_line_blame_formatter_opts.relative_time
Closes #912
2024-04-04 10:25:32 +01:00
zhaogang b45ff86f56 feat(popup): add `q` keymap to quit 2024-04-03 17:44:32 +01:00
Lewis Russell 4db6e85152 chore: stylua 2024-04-03 17:21:49 +01:00
Luke Franceschini 22c0ab8ec2 docs: change README.md configuration signs to match actual defaults
The default text sign for add and change is a "Box Drawings Heavy
Vertical" (U+2503). However, README.md uses "Box Drawings Light
Vertical" (U+2502) in its configuration for these signs. This
commit changes the sample configuration to match the actual defaults
used in the code, which then gets propagated to gitsigns.txt when
running gen_help.lua.

This way someone who wants to use the same symbol for untracked as add
and change, as I did, gets the same character when they copy and paste
from the documentation into their config.
2024-04-03 17:20:39 +01:00
Lewis Russell 7e31d8123f fix(cli): do not print result 2024-04-03 17:12:32 +01:00
Lewis Russell 096d0833f7 test: migrate to nvim-test 2024-04-03 16:56:07 +01:00
Lewis Russell 955d16e633 test: fix nightly 2024-04-03 15:41:43 +01:00
Lewis Russell 4a1bc2ef16 test: fix nightly 2024-04-03 14:45:10 +01:00
Lewis Russell 1b288a14a0 ci: fix nightly 2024-04-03 13:49:48 +01:00
Lewis Russell 0994d89323 feat(blame): add rev option to blame_line()
Resolves #952
2024-04-03 12:01:50 +01:00
Lewis Russell 50577f0186 fix(diffthis): populate b:gitsigns_head
Fixes #949
2024-04-03 11:44:05 +01:00
Lewis Russell 690f298c4c fix: followup 2024-04-03 11:38:11 +01:00
Lewis Russell 4e90cf984c feat(actions): add callback to async actions
- simplify async code

Fixes: #906, #766
2024-04-03 11:30:19 +01:00
Lewis Russell 2d1271962f ci: update conventional commits 2024-04-03 09:39:27 +01:00
Lewis Russell b616ccb977 docs: add mini.diff to similar plugins 2024-04-03 09:23:16 +01:00
Lewis Russell a4db718c78 fix: bad deprecation message
Fixes #965
2024-04-02 09:32:53 +01:00
Marc Jakobi 070875f9e4 feat: publish releases to luarocks 2024-04-02 00:15:44 +01:00
Lewis Russell 1bb277b41d feat(yadm): deprecate 2024-04-01 18:18:11 +01:00
Lewis Russell 3cb0f8431f fix(version): handle version checks more gracefully
- Avoid emitting errors when the version check fails.
- Put version checking into separate module.
- Pull in upstream changes for vim.system.

Fixes: #948
Closes: #960
2024-04-01 18:00:29 +01:00
Lewis Russell 70584ff9aa fix(blame): check buffer still exists after loading
Fixes #946
2024-03-29 08:54:05 +00:00
Ivan Pankratov 078041e9d0 fix(watcher): improve buffer check in handler 2024-03-17 20:37:59 +00:00
Lewis Russell 4e348641b8 fix(git): support older versions of git 2024-03-13 15:14:48 +00:00
Timur Celik 41dc075ef6 fix: changedelete symbol with linematch enabled
Since linematch will report a changed line following deleted lines as
multiple hunks on a single line, it will only show the `changed` sign
and will drop the `deleted` sign.  To fix this check for overlapping
hunks and mark the change hunk as changedelete.
2024-03-12 09:32:02 +00:00
hankertrix 2c2463dbd8 fix(docs)!: Use the new attached_to_untracked setting 2024-01-27 16:20:32 +00:00
Lewis Russell fb9fd53124 fix(hl): highlights for Nvim v0.9
Resolves #939
2024-01-26 15:21:23 +00:00
Lewis Russell 0a2a93f687 test: simplify msgpack_rpc_stream 2024-01-25 17:19:25 +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
Sebastian Lyng Johansen 300a306da9 fix: use documented highlight groups as fallback 2024-01-23 19:18:12 +00:00
Jose Pedro Oliveira c5ff7628e1 fix: update lua-guide link in README
The previous link was pointing to the nvim-lua-guide project that has been
archived in December 2022.
2024-01-20 16:23:18 +00:00
ehrenschwan 4aaacbf5e5 fix: typo in README 2024-01-12 12:49:22 +00:00
martinra 3e6e91b09f
feat: configurable auto attach (#918)
* feat: configurable auto attach

* fixup! feat: configurable auto attach
2024-01-05 11:42:32 +00:00
Lewis Russell d195f0c35c feat: enable the new version of inline_preview 2023-12-12 10:56:25 +00:00
Lewis Russell e20c96e9c3 fix(setqflist): CLI
Fixes #907
2023-12-12 10:54:43 +00:00
Lewis Russell aeab36f4b5 fix(dos): correct check for dos files
When scanning for CRLF do not check EOF.

Fixes #927, #835
2023-12-12 10:47:23 +00:00