Commit Graph

637 Commits

Author SHA1 Message Date
Lewis Russell
3a13f536f0 fix: add nil check 2022-12-15 14:07:35 +00:00
Lewis Russell
0ca581e4f0 doc: ts syntax highlighting 2022-12-15 13:15:45 +00:00
Lewis Russell
2f3e3e4e61 fix: do not error if cwd does not exist 2022-12-15 13:02:54 +00:00
Lewis Russell
b0d16a6a02 feat: parse flags 2022-12-15 12:53:45 +00:00
Lewis Russell
d572faa71a feat: staged signs 2022-12-15 12:53:23 +00:00
Lewis Russell
bb808fc737 test: fix CI 2022-12-15 10:40:27 +00:00
Lewis Russell
d076301a63 refactor: types 2022-11-30 16:45:18 +00:00
Lewis Russell
0af795a259 refactor: split up types into multiple files 2022-11-30 16:43:20 +00:00
Lewis Russell
9ff7dfb051 feat: subcmd completion for diffthis, change_base and show 2022-11-09 17:51:16 +00:00
Lewis Russell
6020b071a1 fix: completion 2022-11-09 16:29:15 +00:00
Lewis Russell
72d3c0262d fix: better argument handling of 'Gitsigns change_base' 2022-11-09 14:31:09 +00:00
Lewis Russell
9d73a30e9c feat(word_diff): do not flicker when toggling 2022-11-08 11:51:54 +00:00
Lewis Russell
84e81178fe fix(follow_files): do not rename if buffer name already exists
Fixes #571
2022-11-08 11:34:30 +00:00
Lewis Russell
b3416833d3 fix(diff-ext): do not create unused temp files
Resolves #662
2022-11-07 15:07:34 +00:00
Lewis Russell
284b253b3a fix: emit error on bad version check
Resolves #635
2022-11-07 13:23:51 +00:00
Lewis Russell
a4e2275532 feat: add greedy option to actions 2022-11-07 13:00:46 +00:00
Lewis Russell
4313a1f9c2 feat: add b:gitsigns_line_blame
Resolves #573
2022-11-07 11:59:55 +00:00
Lewis Russell
354d4de02d feat: add healthcheck 2022-11-07 11:18: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
2b4fc5e2ae docs: update README.md 2022-11-04 10:13:48 +00:00
Lewis Russell
88d7aae293 feat(diff): support for linematch
Requires https://github.com/neovim/neovim/pull/14537
2022-11-04 10:05:20 +00:00
Lewis Russell
d3a8ba0b0d chore: update version in help 2022-10-31 16:22:11 +00:00
Lewis Russell
fe6b09be22 feat(nav): support preview_inline 2022-10-31 16:10:36 +00:00
Lewis Russell
9110ea15a1 feat(preview): add preview_hunk_inline() 2022-10-29 11:56:14 +01:00
tester
6321c884b1 ci: clean up and update the workflow file
- Remove redundant comments
- Bump all actions to latest stable
- Replace deprecated set-output with Github environment files
2022-10-28 09:29:49 +01:00
dundargoc
851cd32caa
docs: fix typos (#656) 2022-10-25 14:19:46 +02:00
Lewis Russell
21ab05c262 chore: add extra asserts 2022-10-21 16:11:27 +01:00
Clément Joly
56e01cb0ea fix(repeat): support remapped l key
I use a non-qwerty layout and so `hjkl` keys are not close to home row,
but instead scattered around the keyboard. Consequently, I remap `l` to
something more convenient.

Recently (it turns out, after commit
9787c94178), commands like `Gitsigns
stage_hunk` stopped working, i.e. calling them would not stage the given
hook.

The problem is that `mk_repeatable` assumes a default mapping on `l`
when it calls `normal g@l`. Calling `normal!` fixes this, because then
custom mappings are disregarded and `normal g@l` calls the `stage_hunk`
or whatever was made repeatable.

I believe this should fix #651, although I did not test that.
2022-10-16 16:50:37 +01:00
figsoda
bf20b5d820 chore: update rockspec 2022-10-15 23:59:34 +01:00
Lewis Russell
2c6f96dda4 fix(uv): actually we don't want to close 2022-10-13 11:32:57 +01:00
Lewis Russell
28ed354f35 fix(uv): check before closing handles 2022-10-13 10:51:08 +01:00
Lewis Russell
9d18976c10 fix(diffthis): handle no base
Fixes #647
2022-10-10 09:21:18 +01:00
Lewis Russell
9787c94178 feat(repeat): better implementation 2022-10-07 16:53:11 +01:00
Lewis Russell
e4a6028c3d fix: add absent argument for nvim_create_augroup
Co-authored-by: Vladimir Popov <6939832+vladimir-popov@users.noreply.github.com>
2022-10-07 16:50:29 +01:00
Lewis Russell
233e65a521 chore: update API usage 2022-10-07 15:57:33 +01:00
Lewis Russell
acc439a485 refactor(compat): remove v0.6.0 compat 2022-10-07 15:46:32 +01:00
Lewis Russell
05fd787b79 chore(ci): partition deps better 2022-10-07 15:37:24 +01:00
Lewis Russell
666edc7ba4 fix(test): set merge.conflictstyle 2022-10-07 14:20:57 +01:00
Lewis Russell
db1f5dc9a9 chore(doc): add event section to doc template 2022-10-07 14:07:59 +01:00
Lewis Russell
f623543458 chore(ci)!: drop support for v0.6.x 2022-10-07 14:02:11 +01:00
Evgeni Chasnovski
467073b412
feat: issue GitsignsUpdate event when appropriate (#641)
Co-authored-by: Lewis Russell <me@lewisr.dev>
2022-10-07 11:43:00 +01:00
Lewis Russell
5df4ac570e fix: word diff
Fixes #634
2022-10-07 09:15:18 +01:00
Lewis Russell
754177a248 fix(uv): do not loop in try_close() 2022-10-07 09:04:19 +01:00
Lewis Russell
c997a4ba21 fix(uv): check before closing pipes
Fixes #638
2022-10-06 16:40:27 +01:00
JafarAbdi
fe76eed870 fix: check if the buffer is still loaded before calling nvim_buf_attach 2022-10-06 10:28:47 +01:00
odrling
f98c85e7c3 fix(signs): hunks can be nil 2022-09-19 00:23:17 +01:00
Lewis Russell
231fa923fb fix(preview): do not close other windows 2022-09-15 08:25:58 +01:00
Lewis Russell
facca89a95 fix(word_diff): highlight last character on line 2022-09-14 11:42:15 +01:00
Sebastian Lyng Johansen
2300e4eadb
feat(preview): attach to popup if already open (#622)
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
2022-09-14 11:16:08 +01:00
Lewis Russell
c8b3d79689 fix(async): handle Lua 5.2 coroutines
Fixes #624
2022-09-13 18:36:12 +01:00