Commit Graph

557 Commits

Author SHA1 Message Date
Lewis Russell dc2962f7fc fix(blame): don't run concurrent blames
Fixes: #783
2023-07-04 11:53:50 +01:00
Lewis Russell a36bc3360d fix(inline_preview2): further maturity 2023-06-20 13:39:16 +01:00
Lewis Russell b0f0612611 fix(watcher): debounce per watcher 2023-06-19 13:00:03 +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 256569c2fe feat!: remove config.keymaps 2023-06-16 16:57:41 +01:00
Lewis Russell 512ed64996 feat: enable threaded diff by default 2023-06-16 16:34:28 +01:00
Lewis Russell 6f97c573b5 chore: more emmy types 2023-06-16 16:31:27 +01:00
Lewis Russell 05c4f78a3f chore: add selene config 2023-06-16 09:53:11 +01:00
Lewis Russell f1c5aa1050 fix(diffthis): re-use buffers
Fixes #808
2023-06-14 18:02:07 +01:00
Lewis Russell 6680427dd0 fix: remove bad assert
Fixes #814
2023-06-14 15:12:02 +01:00
Lewis Russell 92654646f8 refactor: post teal-pocolypse cleanup
- assume vim.iconv
2023-06-14 12:02:18 +01:00
Lewis Russell 4bbfb06cf7 fix: vendor testsuite 2023-06-13 15:32:14 +01:00
Lewis Russell 4d63d996b0 refactor: remove teal 2023-06-13 15:32:14 +01:00
Lewis Russell 4455bb5364 fix(blame): handle changes from git 2.41 2023-06-07 10:04:03 +01:00
Lewis Russell f868d82a36 fix: staged_signs with legacy signs
Fixes #798
2023-05-25 16:09:19 +01:00
Gerson Sosa c18b7ca0b5 fix(toggle_current_line_blame): check signs_normal is not nil 2023-05-19 07:32:38 +01:00
Lewis Russell 814158f6c4 refactor: add some emmy types (3) 2023-05-10 16:36:40 +01:00
Lewis Russell e06d77e1e8 refactor: add some emmy types (2) 2023-05-10 14:49:58 +01:00
Lewis Russell e5edefd997 refactor: add some emmy types 2023-04-28 12:28:35 +01:00
Lewis Russell 319a248e4c feat(preview): improved version of preview_hunk_inline()
(experimental)

Uses a second buffer and a floating window in order to display syntax
highlighting in the deleted lines.

Need to set `_inline2 = true` in `setup()` to enable.
2023-04-28 11:38:38 +01:00
dundargoc 7d5a2132a5 feat!: remove unnecessary healthchecks 2023-04-20 22:02:55 +01:00
Alexander Garcia f412f51d0e fix(update_show_deleted): show_deleted when buffer not in cache 2023-03-30 21:49:40 +01:00
Lewis Russell ca473e2838 fix(debug): do not return list when echoing 2023-03-22 14:28:39 +00:00
Lewis Russell b1f9cf7c5c fix(cli): print results of functions
Fixes #762
2023-03-06 11:20:59 +00:00
dundargoc a7138dc26a docs: fix typo 2023-03-01 20:50:01 +00:00
Lewis Russell f965e3bad0 perf: reduce startup time 2023-03-01 16:34:52 +00:00
Lewis Russell f388995990 feat: add more comments to generated lua files 2023-02-16 11:22:47 +00:00
Lewis Russell 8ad98db42a feat: add comments to generated lua files 2023-02-16 11:09:17 +00:00
Lewis Russell 2ec47b437b chore(git): add async annotations 2023-02-16 09:52:05 +00:00
Lewis Russell 5f1451ea7d fix(preview): close preview properly
Fixes #728
2023-02-15 12:24:19 +00:00
Hugo Osvaldo Barrera f5d7b441fc fix: add space at the end of blame virtual text
When using `current_line_blame = true` with a highlight that defines a
`bg`, the virtual text has a space at the beginning but not at the end.
This looks a bit off (e.g.: the virtual text looks like a small label
with the text not properly aligned).

This is invisible when using a highlight without `bg`.

This small changes adds a space at the end so that virtual text in such
situations makes better sense visually.

Fixes: https://github.com/lewis6991/gitsigns.nvim/issues/745
2023-02-15 11:31:33 +00:00
Lewis Russell 4bd5d7702c fix(windows): remove carriage return when staging 2023-02-14 09:45:32 +00:00
Lewis Russell f29f0b22fd fix(diffthis): don't change the current window 2023-02-10 09:22:01 +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 0d4fe37ba5 fix(highlight): apply fallback even if not defined
Fixes: #729
2023-01-27 14:14:21 +00:00
Lewis Russell c52162b7b3 chore: fix some teal issues from 0.15.1 2023-01-24 14:13:10 +00:00
Lewis Russell 7b37bd5c2d fix: don't run iconv on utf-16
- also add BOM stripping

Fixes: #722
2023-01-20 16:06:50 +00:00
Rocky Zhang addd6e174a fix(highlight): add missing staged highlights 2023-01-12 23:49:32 +00:00
Lewis Russell f8a1e2a8c8 refactor(cache): use method style syntax 2023-01-12 10:24:28 +00:00
Lewis Russell 7918862bee feat: use staged signs for commit buffers 2023-01-12 10:21:05 +00:00
Lewis Russell 61ed2db5c5 fix: fugitive check 2023-01-12 10:01:44 +00:00
Lewis Russell 6c3a381c61 fix(preview): fix topline viewing
Fixes: #684
2023-01-11 11:46:22 +00:00
Alfonso Ros 9950f48f7e fix: use fugitive functions to parse fugitive:// url
Fixes #686
2023-01-11 11:26:27 +00:00
Lewis Russell 414aa7bc08 fix(highlight): several fixes from last PR 2023-01-11 10:21:45 +00:00
Lewis Russell c6f45ccfe2 refactor: tidy up subprocess.tl 2023-01-10 15:09:00 +00:00
Lewis Russell e272fcfc99 feat!: rework highlights and document them
- Deprecated config.signs.*.[hl,numhl,linehl].

  In the future the highlight groups will be hard defined and should be
  configured directly by the user using `nvim_set_hl` or `:highlight`.

- Added documentation for all used highlights.

- Added specific highlights for 'topdelete', 'changedelete', and 'untracked'
  signs.
2023-01-10 15:07:59 +00:00
Lewis Russell b57784ea72 fix: error handling 2023-01-10 10:26:23 +00:00
Lewis Russell 96bc4ac5d1 refactor: denest a bit 2023-01-10 10:26:23 +00:00
Lewis Russell 114362a85e feat: yet another async implementation
Migrate changes discussed in https://github.com/neovim/neovim/issues/19624
2023-01-09 17:07:11 +00:00
Wesley Merkel d4f8c01280 fix: don't move preview window while it's focused 2023-01-04 20:39:01 +00:00