Commit Graph

21 Commits

Author SHA1 Message Date
Lewis Russell
8aedc8b15a feat(diffopt): add support for whitespace flags in diffopt
Resolves 
2023-10-02 11:22:42 +01:00
Lewis Russell
55f8fc7b13 fix: typing 2023-08-15 13:28:36 +01:00
Lewis Russell
6f97c573b5 chore: more emmy types 2023-06-16 16:31:27 +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
a4e2275532 feat: add greedy option to actions 2022-11-07 13:00:46 +00:00
Lewis Russell
88d7aae293 feat(diff): support for linematch
Requires https://github.com/neovim/neovim/pull/14537
2022-11-04 10:05:20 +00:00
Lewis Russell
18bffcadd5 feat(diff): run xdiff on a separate thread
Requires https://github.com/neovim/neovim/pull/15658
2022-04-11 09:17:15 +01:00
Lewis Russell
435635b09a Remove unused lua file 2021-08-05 14:23:24 +01:00
Lewis Russell
6d821bed1c word diff: More tweaks 2021-06-14 16:51:17 +01:00
Lewis Russell
20c01748c2 word diff: Tweaks and fixes 2021-06-14 14:59:29 +01:00
Lewis Russell
3a2cbc7f6f Replace word diff implementation with FFI version 2021-06-11 22:12:45 +01:00
Lewis Russell
8cdce5000d Make FFI hunk_func and closure again
Resolves the infamous gitsigns+fzf-native+linux issue ()
2021-05-14 23:23:40 +01:00
Lewis Russell
db1a00fcce Handle FFI callbacks properly
The usage of jit.off() was completely wrong. And the implementation was
pretty inefficent due to creating lots of ffi objects

Should resolve: https://github.com/neovim/neovim/issues/14487
2021-05-14 14:39:21 +01:00
Lewis Russell
a2a40ef2bf diff: Refactor internal diff
- Do less work in FFI callback
2021-05-08 12:51:04 +01:00
Lewis Russell
445c7d54d8 Change style of requires from / to . 2021-04-25 16:52:12 +01:00
Lewis Russell
14e56e1949 Disable jit when running internal diff.
Resolves 
2021-04-24 16:25:20 +01:00
Lewis Russell
b003c314ac Unglobal all the types
Fixes 
2021-03-27 10:11:58 +00:00
Lewis Russell
1a99d54302 diif.tl: Fix when diffing an empty buffer 2021-03-09 17:30:03 +00:00
Lewis Russell
b2fa52ea86 diff.tl: Fix hunk parsing 2021-03-08 17:06:22 +00:00
Lewis Russell
7abe534b74 Use nvim's internal diff via ffi!
WIP

Enabled with config._use_internal_diff
2021-03-07 23:53:23 +00:00