aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com>2017-05-26 00:18:24 +0100
committerJonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com>2017-06-03 18:53:28 +0100
commit503a5c458bf8b8458c18d45f1d1558987b15fc2d (patch)
tree4fe20720dd4a99ce16a37bbea429259867991937 /src
parent74472f7b2bf354dbffcaca3738dacba5dfaefd6d (diff)
downloadrneovim-503a5c458bf8b8458c18d45f1d1558987b15fc2d.tar.gz
rneovim-503a5c458bf8b8458c18d45f1d1558987b15fc2d.tar.bz2
rneovim-503a5c458bf8b8458c18d45f1d1558987b15fc2d.zip
tui: Spelling corrections in doco and commentary
Diffstat (limited to 'src')
-rw-r--r--src/nvim/tui/tui.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
index 5a0381c072..994c15d960 100644
--- a/src/nvim/tui/tui.c
+++ b/src/nvim/tui/tui.c
@@ -773,8 +773,6 @@ static void tui_set_mode(UI *ui, ModeShape mode)
cursorentry_T c = data->cursor_shapes[mode];
int shape = c.shape;
- // Support changing cursor shape on some popular terminals.
-
if (c.id != 0 && ui->rgb) {
int attr = syn_id2attr(c.id);
if (attr > 0) {
@@ -2063,7 +2061,7 @@ static void patch_terminfo_bugs(TUIData *data, const char *term,
"%e%{1}" // everything else is bar
"%;%d;BlinkingCursorEnabled=%?"
"%p1%{1}%<" "%t%{1}" // Fortunately if we exclude zero as special,
- "%e%p1%{1}%&" // in all other cases we can teeat bit #0 as a flag.
+ "%e%p1%{1}%&" // in all other cases we can treat bit #0 as a flag.
"%;%d\x07"));
if (-1 == data->unibi_ext.reset_cursor_style) {
data->unibi_ext.reset_cursor_style = (int)unibi_add_ext_str(ut, "Se",