mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.3643: header for source file is outdated
Problem: Header for source file is outdated. Solution: Make the header more accurate. (closes #9186)
This commit is contained in:
@@ -8,12 +8,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* getchar.c
|
* getchar.c: Code related to getting a character from the user or a script
|
||||||
*
|
* file, manipulations with redo buffer and stuff buffer.
|
||||||
* functions related with getting a character from the user/mapping/redo/...
|
|
||||||
*
|
|
||||||
* manipulations with redo buffer and stuff buffer
|
|
||||||
* mappings and abbreviations
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "vim.h"
|
#include "vim.h"
|
||||||
@@ -2633,7 +2629,7 @@ handle_mapping(
|
|||||||
keylen = KEYLEN_PART_KEY;
|
keylen = KEYLEN_PART_KEY;
|
||||||
|
|
||||||
// If no termcode matched, try to include the modifier into the
|
// If no termcode matched, try to include the modifier into the
|
||||||
// key. This for when modifyOtherKeys is working.
|
// key. This is for when modifyOtherKeys is working.
|
||||||
if (keylen == 0 && !no_reduce_keys)
|
if (keylen == 0 && !no_reduce_keys)
|
||||||
keylen = check_simplify_modifier(max_mlen + 1);
|
keylen = check_simplify_modifier(max_mlen + 1);
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* map.c: functions for maps and abbreviations
|
* map.c: Code for mappings and abbreviations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "vim.h"
|
#include "vim.h"
|
||||||
@@ -659,9 +659,9 @@ do_map(
|
|||||||
// Find an entry in the maphash[] list that matches.
|
// Find an entry in the maphash[] list that matches.
|
||||||
// For :unmap we may loop two times: once to try to unmap an entry with
|
// 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
|
// 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
|
// an entry with a matching 'to' part. This was done to allow
|
||||||
// bar" to be unmapped by typing ":unab foo", where "foo" will be
|
// ":ab foo bar" to be unmapped by typing ":unab foo", where "foo" will
|
||||||
// replaced by "bar" because of the abbreviation.
|
// be replaced by "bar" because of the abbreviation.
|
||||||
for (round = 0; (round == 0 || maptype == 1) && round <= 1
|
for (round = 0; (round == 0 || maptype == 1) && round <= 1
|
||||||
&& !did_it && !got_int; ++round)
|
&& !did_it && !got_int; ++round)
|
||||||
{
|
{
|
||||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3643,
|
||||||
/**/
|
/**/
|
||||||
3642,
|
3642,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user