Hi Bram and list,
2017-11-25(Sat) 6:15:29 UTC+9 Bram Moolenaar:
> Dominique wrote:
>
> > Attached patch fixes a few typos in the documentation.
>
> Thanks!
I found typos related to iTerm2.
The official name of iTerm2 is iTerm2. It's not Iterm2 or iterm2.
https://www.iterm2.com/
I attached a patch.
--
Best regards,
Hirohito Higashi (h_east)
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index f9acff8..2a7a59d 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -8232,7 +8232,7 @@ A jump table for the options with a short description can be found at |Q_op|.
number, more intelligent detection process runs.
The "xterm2" value will be set if the xterm version is reported to be
from 95 to 276. The "sgr" value will be set if the xterm version is
- 277 or highter and when Vim detects Mac Terminal.app or Iterm2.
+ 277 or highter and when Vim detects Mac Terminal.app or iTerm2.
If you do not want 'ttymouse' to be set to "xterm2" or "sgr"
automatically, set t_RV to an empty string: >
:set t_RV=
diff --git a/src/term.c b/src/term.c
index 4e38bae..3a683c3 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4585,7 +4585,7 @@ check_termcode(
is_mac_terminal = TRUE;
}
# ifdef FEAT_MOUSE_SGR
- /* Iterm2 sends 0;95;0 */
+ /* iTerm2 sends 0;95;0 */
if (STRNCMP(tp + extra - 2, "0;95;0c", 7) == 0)
is_iterm2 = TRUE;
# endif
@@ -4596,8 +4596,8 @@ check_termcode(
if (!option_was_set((char_u *)"ttym"))
{
# ifdef FEAT_MOUSE_SGR
- /* Xterm version 277 supports SGR. Also support
- * Terminal.app and iterm2. */
+ /* xterm version 277 supports SGR. Also support
+ * Terminal.app and iTerm2. */
if (version >= 277 || is_iterm2 || is_mac_terminal)
set_option_value((char_u *)"ttym", 0L,
(char_u *)"sgr", 0);
diff --git a/src/terminal.c b/src/terminal.c
index 716d0b5..db01c52 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -2549,7 +2549,7 @@ create_vterm(term_T *term, int rows, int cols)
/* The "Terminal" highlight group overrules the defaults. */
id = syn_name2id((char_u *)"Terminal");
- /* Use the actual color for the GUI and when 'guitermcolors' is set. */
+ /* Use the actual color for the GUI and when 'termguicolors' is set. */
#if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
if (0
# ifdef FEAT_GUI