0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.1.0418: Cannot move to previous/next rare word

Problem:  Cannot move to previous/next rare word
          (Colin Kennedy)
Solution: Add the ]r and [r motions (Christ van Willegen)

fixes: #14773
closes: #14780

Signed-off-by: Christ van Willegen - van Noort <github.com@vanwillegen-vannoort.nl>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christ van Willegen - van Noort
2024-05-17 18:49:27 +02:00
committed by Christian Brabandt
parent cf78d0df51
commit 8e4c4c7d87
14 changed files with 108 additions and 15 deletions

View File

@@ -1529,6 +1529,15 @@ typedef enum
'*', '#', '_', '!', '.', 'o', 'q', \
'z', 'Z', 'g'}
/*
* Values for behaviour in spell_move_to
*/
typedef enum
{
SMT_ALL = 0 // Move to "all" words
, SMT_BAD // Move to "bad" words only
, SMT_RARE // Move to "rare" words only
} smt_T;
/*
* Boolean constants
*/