Commit Graph

9 Commits

Author SHA1 Message Date
Lewis Russell a56fb7cc42 refactor(tests): tidy up 2023-06-19 12:46:25 +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 4bbfb06cf7 fix: vendor testsuite 2023-06-13 15:32:14 +01:00
Lewis Russell f965e3bad0 perf: reduce startup time 2023-03-01 16:34:52 +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 84e81178fe fix(follow_files): do not rename if buffer name already exists
Fixes #571
2022-11-08 11:34:30 +00:00
Lewis Russell d0b42c0fc7 fix(git): add --literal-pathspecs 2022-04-15 16:45:16 +01:00
Lewis Russell b4548e4c60 refactor(highlights)!: rework highlights
- Added GitSigns*Inline and GitSigns*LnInline to be used with word diff
    - GitSigns*LnInline is used for word diff with config.word_diff
    - GitSigns*Inline is used for word diff in hunk previews

- Added GitSigns*VirtLn and GitSigns*VirtLnInline to be used with
  `config.show_deleted`.

- Define GitSigns highlights conditionally as opposed to only defining
  them if certain features are enabled.
2022-01-26 17:33:24 +00:00
Lewis Russell 489fe088c4 fix(watcher): watch gitdir instead if index
Some git command likes `git checkout -b` do no update .git/index.
Instead watch the git dir itself to capture all git operations.

Renamed config.watch_index -> config.watch_gitdir

Fixes #377
2021-09-24 16:30:10 +01:00