summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-11-22 12:47:39 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-22 12:47:39 +0000
commita3f83feb63eae5464a620ae793c002eb45f7a838 (patch)
treeba852892bd11fba6e9f70586bc4adc5236a19932 /src/map.c
parent73448a27a8e13b9b26759abeb092fd13a0e93238 (diff)
downloadvim-git-a3f83feb63eae5464a620ae793c002eb45f7a838.tar.gz
patch 8.2.3643: header for source file is outdatedv8.2.3643
Problem: Header for source file is outdated. Solution: Make the header more accurate. (closes #9186)
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map.c b/src/map.c
index 47874008c..a95880374 100644
--- a/src/map.c
+++ b/src/map.c
@@ -8,7 +8,7 @@
*/
/*
- * map.c: functions for maps and abbreviations
+ * map.c: Code for mappings and abbreviations.
*/
#include "vim.h"
@@ -659,9 +659,9 @@ do_map(
// Find an entry in the maphash[] list that matches.
// For :unmap we may loop two times: once to try to unmap an entry with
// a matching 'from' part, a second time, if the first fails, to unmap
- // an entry with a matching 'to' part. This was done to allow ":ab foo
- // bar" to be unmapped by typing ":unab foo", where "foo" will be
- // replaced by "bar" because of the abbreviation.
+ // an entry with a matching 'to' part. This was done to allow
+ // ":ab foo bar" to be unmapped by typing ":unab foo", where "foo" will
+ // be replaced by "bar" because of the abbreviation.
for (round = 0; (round == 0 || maptype == 1) && round <= 1
&& !did_it && !got_int; ++round)
{