Mercurial > vim
comparison src/option.c @ 26771:fc859aea8cec v8.2.3914
patch 8.2.3914: various spelling mistakes in comments
Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon Dec 27 17:21:41 2021 +0000
patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 18:30:05 +0100 |
parents | 9c9b8d95b05f |
children | f6b10a501a0e |
comparison
equal
deleted
inserted
replaced
26770:15ff3f2e0d58 | 26771:fc859aea8cec |
---|---|
1772 newval = term_bg_default(); | 1772 newval = term_bg_default(); |
1773 } | 1773 } |
1774 else if ((char_u **)varp == &p_fencs && enc_utf8) | 1774 else if ((char_u **)varp == &p_fencs && enc_utf8) |
1775 newval = fencs_utf8_default; | 1775 newval = fencs_utf8_default; |
1776 | 1776 |
1777 // expand environment variables and ~ (since the | 1777 // expand environment variables and ~ since the |
1778 // default value was already expanded, only | 1778 // default value was already expanded, only |
1779 // required when an environment variable was set | 1779 // required when an environment variable was set |
1780 // later | 1780 // later |
1781 if (newval == NULL) | 1781 if (newval == NULL) |
1782 newval = empty_option; | 1782 newval = empty_option; |
3137 p_arshape = TRUE; | 3137 p_arshape = TRUE; |
3138 redraw_later_clear(); | 3138 redraw_later_clear(); |
3139 } | 3139 } |
3140 } | 3140 } |
3141 | 3141 |
3142 // Arabic requires a utf-8 encoding, inform the user if its not | 3142 // Arabic requires a utf-8 encoding, inform the user if it's not |
3143 // set. | 3143 // set. |
3144 if (STRCMP(p_enc, "utf-8") != 0) | 3144 if (STRCMP(p_enc, "utf-8") != 0) |
3145 { | 3145 { |
3146 static char *w_arabic = N_("W17: Arabic requires UTF-8, do ':set encoding=utf-8'"); | 3146 static char *w_arabic = N_("W17: Arabic requires UTF-8, do ':set encoding=utf-8'"); |
3147 | 3147 |