aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-09-12 11:57:05 +0800
committerGitHub <noreply@github.com>2025-09-12 03:57:05 +0000
commitcf9b7a37cc3cf0ba934865626e1f392e956a59b1 (patch)
tree082556e3f3622c9f5c74ab54522612b40ef9e636 /runtime/lua/vim/shared.lua
parent4f10e56cc5f2cb91337790ddc93e5fdeaefd5c2d (diff)
downloadrneovim-cf9b7a37cc3cf0ba934865626e1f392e956a59b1.tar.gz
rneovim-cf9b7a37cc3cf0ba934865626e1f392e956a59b1.tar.bz2
rneovim-cf9b7a37cc3cf0ba934865626e1f392e956a59b1.zip
vim-patch:9.1.1753: defaults: 'diffopt' option value can be improved (#35727)
Problem: defaults: 'diffopt' option value can be improved Solution: Update diffopt defaults to include "indent-heuristic" and "inline:char" (Yee Cheng Chin) The default diff options have not been updated much despite new functionality having been added to Vim. - indent-heurstic: This has been enabled by default in Git since 33de716387 in 2017. Given that Vim uses xdiff from Git, it makes sense to track the default configuration from Git. - inline:char: This turns on character-wise inline highlighting which is generally much better than the default inline:simple. It has been implemented since vim/vim#16881 and we have not seen reports of any issues with it, and it has received good feedbacks. closes: vim/vim#18255 https://github.com/vim/vim/commit/976b365305c2e9025813ff3c7fe52f8d927fafc3 Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions