vim-patch:9.1.1252: typos in code and docs related to 'diffopt' "inline:" (#33143)

Problem:  Typos in code and docs related to 'diffopt' "inline:".
          (after v9.1.1243)
Solution: Fix typos and slightly improve the docs.
          (zeertzjq)

closes: vim/vim#16997

5a307c361c
This commit is contained in:
zeertzjq
2025-03-29 07:01:49 +08:00
committed by GitHub
parent f4ee0ab2f1
commit cb31663663
6 changed files with 14 additions and 15 deletions

View File

@@ -777,7 +777,7 @@ struct diffblock_S {
typedef struct diffline_change_S diffline_change_T;
struct diffline_change_S {
colnr_T dc_start[DB_COUNT]; ///< byte offset of start of range in the line
colnr_T dc_end[DB_COUNT]; ///< 1 paste byte offset of end of range in line
colnr_T dc_end[DB_COUNT]; ///< 1 past byte offset of end of range in line
int dc_start_lnum_off[DB_COUNT]; ///< starting line offset
int dc_end_lnum_off[DB_COUNT]; ///< end line offset
};

View File

@@ -2279,8 +2279,8 @@ local options = {
none Do not perform inline highlighting.
simple Highlight from first different
character to the last one in each
line. This is the default if nothing
is set.
line. This is the default if no
`inline:` value is set.
char Use internal diff to perform a
character-wise diff and highlight the
difference.