Commit Graph

1026 Commits

Author SHA1 Message Date
Lewis Russell
4baa13519c build: store all deps in deps dir
Some checks failed
release-please / release-please (push) Has been cancelled
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 / luarocks-upload (push) Has been cancelled
release-please / update-doc (push) Has been cancelled
2025-02-08 10:53:07 +00:00
Lewis Russell
db252c43c2 test: cleanup 2025-02-08 10:32:20 +00:00
github-actions[bot]
c23bbd3ed2 chore(main): release 1.0.0
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-02-07 11:42:33 +00:00
Lewis Russell
6622868fd0 ci: update release please (2) 2025-02-07 11:02:28 +00:00
Lewis Russell
ed2e579bdf ci: update release please 2025-02-07 10:59:39 +00:00
Lewis Russell
aaf4a17f47 ci: fix nightly
Nightly now sets linematch by default. Force it off in tests.
2025-02-07 10:56:33 +00:00
Lewis Russell
fc56fc25cf docs: give README some paint
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-02-06 14:15:51 +00:00
xzb
8974fd397e fix(select_hunk): compatible with <cmd> mapping 2025-02-06 09:41:56 +00:00
Lewis Russell
71e8204f91 test: update luals 2025-02-06 09:36:12 +00:00
Lewis Russell
9772ce68a9 refactor: add flattening of command arguments
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-02-05 14:15:04 +00:00
Lewis Russell
310018d543 fix(repo): make sure --git-dir is always provided --work-tree
gitdir and worktree must be provided together. From `man git`:
> Specifying the location of the ".git" directory using this option (or GIT_DIR environment
> variable) turns off the repository discovery that tries to find a directory with ".git"
> subdirectory (which is how the repository and the top-level of the working tree are
> discovered), and tells Git that you are at the top level of the working tree. If you are
> not at the top-level directory of the working tree, you should tell Git where the
> top-level of the working tree is, with the --work-tree=<path> option (or GIT_WORK_TREE
> environment variable)

If not then toplevel can be incorrectly calculated.
2025-02-05 13:57:17 +00:00
dundargoc
0883d0f67c fix: use non-deprecated versions of vim.validate
This will remove stack traces from `:checkhealth vim.deprecated`.
2025-02-05 13:34:26 +00:00
Lewis Russell
cf1ffe682d fix(attach): do not attach to fugitive directory buffers
Fix #1198
2025-02-05 12:23:32 +00:00
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