Commit Graph

12 Commits

Author SHA1 Message Date
Prabir Shrestha c4f7291f5e Lua arrays are now one based starting v8.2.1066 (#851)
This aligns with lua and neovim.
https://github.com/vim/vim/commit/bd84617d1a6766efd59c94aabebb044bef805b99
2020-06-27 10:22:45 -07:00
Prabir Shrestha 3d0153bcf9 improve diff by using lua if available (#821)
* use lua if available for diff

* add docs

* sync with latest vim-lsc changes

* lazily init lua

* update vim to 8.2.0817

* update vim to 8.2.0817 for windows

* use vim 8.2.0814

* check for path 8.2.0775 before enabling lua

* use vim 8.2.0813 since it exists for both linux and windows

* update lua patch check

* optimize vimscript diff by using range

* fix lint issues
2020-05-24 13:03:32 -07:00
hrsh7th 8fccf7a408 Add prefix 'l:' for local variables 2019-07-25 19:56:37 +09:00
hrsh7th a2e4e040d2 Re-porting vim-lsc's diff logic 2019-07-25 17:23:41 +09:00
Yasuhiro Matsumoto cf0ff507cd Fixes exception for empty list 2019-02-11 03:33:26 +09:00
Yasuhiro Matsumoto b4b91f7d0a Fix diff
Return empty array when not changes
2019-01-16 15:07:02 +09:00
Yasuhiro Matsumoto 0f0c07ff3f Check l:start_line too 2019-01-16 00:08:20 +09:00
Yasuhiro Matsumoto 1a13828750 When no diffs, send empty changes 2019-01-15 23:43:30 +09:00
Yasuhiro Matsumoto 218e4e5787 Fixes vint errors 2019-01-14 11:53:46 -08:00
Yasuhiro Matsumoto 11d408b38c Fixes vint errors 2019-01-14 11:53:46 -08:00
Yasuhiro Matsumoto 34c2a1e851 cosmetic changes 2019-01-14 11:53:46 -08:00
Yasuhiro Matsumoto 19cd6ee332 small diffs 2019-01-14 11:53:46 -08:00