Commit Graph

18 Commits

Author SHA1 Message Date
Lewis Russell
82bc6225e9 refactor: organize imports 2024-07-03 12:08:06 +01:00
Lewis Russell
3885901f24 fix(attach): check cache status between async calls 2023-09-07 10:30:14 +01:00
Lewis Russell
92654646f8 refactor: post teal-pocolypse cleanup
- assume vim.iconv
2023-06-14 12:02:18 +01:00
Lewis Russell
4d63d996b0 refactor: remove teal 2023-06-13 15:32:14 +01:00
Lewis Russell
814158f6c4 refactor: add some emmy types (3) 2023-05-10 16:36:40 +01: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
c52162b7b3 chore: fix some teal issues from 0.15.1 2023-01-24 14:13:10 +00: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
ceafc3149e feat(uv): make sure all handles are closed 2022-08-31 15:56:25 +01:00
Lewis Russell
3b2e7b668c feat: add show action
Similar to diffthis, except diff mode is not enabled.
2022-05-26 11:44:35 +01:00
Lewis Russell
eb7d40f683 chore: refactor 2022-04-17 20:36:30 +01:00
Lewis Russell
acdd74bc6c feat(diffthis): various improvements
- When running diffthis (or vim-fugitive's Gdiffsplit), hunk operations
  to the index will now update the diff buffer.

- Similar to vim-fugitive's Gdiffsplit, buffers of a file in the git
  index can now be edited. When the buffer is written, it updates the
  git index accordingly. Likewise the index buffer can also be reloaded
  (via 'edit').

- Moved all diffthis code to a separate module.

Fixes #501
2022-04-09 08:23:31 +01:00
Lewis Russell
3cf3c03cf8 fix(update): Fix updates from being dropped
Fixes #264
2021-11-16 16:31:47 +00:00
Lewis Russell
667ef9b9ed debounce: Don't use vim.schedule 2021-03-04 18:07:35 +00:00
Lewis Russell
f0c884b246 Port lua to teal
Create README.md for lua files
2021-01-30 12:00:31 +00:00
Lewis Russell
37227fd572 Improved efficiency
- Throttle the attach function. Was being triggered twice on the first
buffer for whatever reason

- Cache the staged content instead of updating on every update

- Make sure we use cache whenever we can

- Removed config.watch_index.enabled. Will be too much work to support
it.

- Add more debug info

Change-Id: I7acefac36d5589cf97b749ad42aab4a7131ef71d
2020-10-27 17:10:04 +00:00