Commit Graph

1013 Commits

Author SHA1 Message Date
dundargoc
9b36d49749 docs: fix typos
Some checks failed
CI / test (v0.9.5) (push) Has been cancelled
release-please / luarocks-upload (push) Has been cancelled
CI / stylua (push) Has been cancelled
release-please / update-doc (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
CI / luals (push) Has been cancelled
CI / test (nightly) (push) Has been cancelled
CI / doc (push) Has been cancelled
CI / test (v0.10.0) (push) Has been cancelled
release-please / release-please (push) Has been cancelled
2025-01-31 00:17:16 +01:00
Lewis Russell
31d2dcd144 fix: partial staging of staged signs
Some checks are pending
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 / stylua (push) Waiting to run
CI / luals (push) Waiting to run
CI / doc (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-30 15:25:52 +00:00
Lewis Russell
2f9f20ea3b fix(signs): avoid placing signs on lnum 0 2025-01-30 15:25:52 +00:00
dundargoc
c6fedfd0b1 build: add check.json to .gitignore
Some checks failed
CI / test (v0.9.5) (push) Has been cancelled
CI / stylua (push) Has been cancelled
CI / luals (push) Has been cancelled
CI / commit_lint (push) Has been cancelled
CI / test (nightly) (push) Has been cancelled
CI / doc (push) Has been cancelled
CI / test (v0.10.0) (push) Has been cancelled
release-please / release-please (push) Has been cancelled
release-please / luarocks-upload (push) Has been cancelled
release-please / update-doc (push) Has been cancelled
It's generated when running `make luals-check`.
2025-01-28 14:55:21 +00:00
dundargoc
32e732731a ci: point to nvim-test version v1.1.0 2025-01-28 14:06:05 +00:00
Lewis Russell
d8918f0662 fix: #1187
Some checks failed
CI / commit_lint (push) Has been cancelled
CI / test (nightly) (push) Has been cancelled
CI / test (v0.10.0) (push) Has been cancelled
CI / test (v0.9.5) (push) Has been cancelled
CI / stylua (push) Has been cancelled
CI / luals (push) Has been cancelled
CI / doc (push) Has been cancelled
release-please / release-please (push) Has been cancelled
release-please / luarocks-upload (push) Has been cancelled
release-please / update-doc (push) Has been cancelled
2025-01-24 16:50:19 +00:00
Lewis Russell
c0f0299230 refactor: diff code 2025-01-24 16:50:19 +00:00
Lewis Russell
3ec5fbd920 ci: add reporter script for LuaLS
Some checks are pending
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 / stylua (push) Waiting to run
CI / luals (push) Waiting to run
CI / doc (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-23 17:00:39 +00:00
Lewis Russell
2d2156a2f8 feat(signs): improve sign generation from hunks
Some checks are pending
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 / stylua (push) Waiting to run
CI / luals (push) Waiting to run
CI / doc (push) Waiting to run
release-please / luarocks-upload (push) Blocked by required conditions
release-please / release-please (push) Waiting to run
release-please / update-doc (push) Blocked by required conditions
Experimental. Opt-in with hidden option _new_sign_calc = true
2025-01-23 15:55:36 +00:00
Lewis Russell
f301005d8e fix: #1185 (take 3) 2025-01-23 15:28:39 +00:00
Lewis Russell
fd7457fa13 fix: #1185 (take 2) 2025-01-23 14:47:34 +00:00
Lewis Russell
8fb9e7515d fix: #1185 2025-01-23 14:46:48 +00:00
Lewis Russell
3868c176d4 fix: #1182 (take 2) 2025-01-23 10:18:50 +00:00
Lewis Russell
632fda72df fix: #1182
Some checks are pending
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 / stylua (push) Waiting to run
CI / luals (push) Waiting to run
CI / doc (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-22 09:55:15 +00:00
Lewis Russell
2ff0c29f2a refactor: attach
Some checks are pending
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 / stylua (push) Waiting to run
CI / luals (push) Waiting to run
CI / doc (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-21 17:34:54 +00:00
Lewis Russell
2914235f0e refactor: minor improvements to logging 2025-01-21 17:34:54 +00:00
Lewis Russell
9d803313b7 fix: add nil check 2025-01-21 16:47:52 +00:00
Lewis Russell
f9170c3b74
docs: fix build badge again
Some checks are pending
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 / stylua (push) Waiting to run
CI / luals (push) Waiting to run
CI / doc (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-21 10:51:31 +00:00
Lewis Russell
95e566f153 docs: fix README build badge 2025-01-21 10:47:54 +00:00
Lewis Russell
34df49f22f build: update stylua 2025-01-21 09:21:50 +00:00
Lewis Russell
ac38d7860b fix: GitSignsChanged autocmd for staged hunks
Some checks are pending
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 / stylua (push) Waiting to run
CI / luals (push) Waiting to run
CI / doc (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
Fixes #1168
2025-01-20 15:24:04 +00:00
Lewis Russell
a5b801e7b1 fix: support blame for git < 2.41
Fixes #1093
2025-01-20 14:55:55 +00:00
Lewis Russell
f41b934e70 fix: fileformat autocmd bug
Fixes #1123
2025-01-20 12:35:50 +00:00
Lewis Russell
f10fddafe0 fix: more EOL fixes
- When staging files, convert the text into a string before passing to
  system() to ensure EOL is respected.
- When setting lines. If text doesn't end with an empty line then set
  'eol=false'.

Fixes #1145
2025-01-20 12:27:57 +00:00
Lewis Russell
abc6dec922 fix: select hunk gets all adjacent linematch hunks
Fixes #1133
2025-01-20 11:09:29 +00:00
Lewis Russell
8b74e560f7 feat!: deprecate some functions
- Deprecated config.show_deleted and toggle_deleted()
  - Use preview_hunk_inline()
- Deprecated undo_stage_hunk()
  - Use stage_hunk() on staged lines
- Updated keymap suggestion in README.md
- Removed hidden option config._inline2
2025-01-20 10:40:42 +00:00
Lewis Russell
2e85a2a9ec ci: fix luals errors and check in ci 2025-01-20 10:15:14 +00:00
Lewis Russell
0edca9d1a0 fix: do not show staged signs for different bases
Fixes #1118
2025-01-20 09:57:44 +00:00
Lewis Russell
817bd848ff fix(blame): ensure blame object is valid when all lines are requested
Some checks failed
CI / commit_lint (push) Has been cancelled
CI / test (nightly) (push) Has been cancelled
CI / test (v0.10.0) (push) Has been cancelled
CI / test (v0.9.5) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / doc (push) Has been cancelled
release-please / release-please (push) Has been cancelled
release-please / luarocks-upload (push) Has been cancelled
release-please / update-doc (push) Has been cancelled
Fixes #1156
2025-01-17 17:12:27 +00:00
Lewis Russell
0797734e2b docs: generate most highlght defs
Some checks are pending
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
CI / doc (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
Resolves #1161
2025-01-16 13:12:34 +00:00
Lewis Russell
9541f5e8e2 fix: do not mix staged signs with normal signs
Some checks are pending
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
CI / doc (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
Fixes: #929, #1102
Closes: #1152
2025-01-15 16:36:03 +00:00
Lewis Russell
78f947413e docs: remove outdated keymap doc 2025-01-15 15:54:29 +00:00
Lewis Russell
496fd998f9 docs: remove gitgutter comparison 2025-01-15 15:44:45 +00:00
Lewis Russell
76d88f3b58 fix: revision buffer name parsing for index buffers
Some checks are pending
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
CI / doc (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-14 17:11:25 +00:00
ngpong
abcd00a7d5 fix: wipeout buf after closing the blame_line/preview_hunk window
Some checks failed
CI / commit_lint (push) Has been cancelled
CI / test (nightly) (push) Has been cancelled
CI / test (v0.10.0) (push) Has been cancelled
CI / test (v0.9.5) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / doc (push) Has been cancelled
release-please / release-please (push) Has been cancelled
release-please / luarocks-upload (push) Has been cancelled
release-please / update-doc (push) Has been cancelled
2025-01-10 19:19:43 +00:00
Lewis Russell
68114837e8 fix: improve support for worktrees in bare repos
Some checks failed
CI / commit_lint (push) Has been cancelled
CI / test (nightly) (push) Has been cancelled
CI / test (v0.10.0) (push) Has been cancelled
CI / test (v0.9.5) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / doc (push) Has been cancelled
release-please / release-please (push) Has been cancelled
release-please / luarocks-upload (push) Has been cancelled
release-please / update-doc (push) Has been cancelled
Fixes #1160
2025-01-09 11:16:46 +00:00
Lewis Russell
904108425c refactor: formatting 2025-01-09 09:15:26 +00:00
Lewis Russell
2b6c069cb4 refactor: update async.lua 2025-01-09 09:15:26 +00:00
Lewis Russell
2eaa305373 ci: resolve failures
Some checks are pending
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
b544bd6262 fix: reset diff when quiting diff buffer
Some checks are pending
CI / lint (push) Waiting to run
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
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
Fixes #1155
2025-01-07 16:42:29 +00:00
Lewis Russell
c2a273980e fix: upstream fixes for system()
Some checks are pending
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
CI / doc (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
Should fix #1134
2025-01-07 11:51:56 +00:00
Lewis Russell
5f808b5e4f
docs: update CONTRIBUTING.md 2024-11-23 11:32:54 +00:00
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
Lewis Russell
e8ba331604 chore: update checkout to v4 2024-11-13 15:44:29 +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