diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-12 11:12:49 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-12 11:12:49 +0100 |
commit | ae906c8b1bf023f4a15f38b4abef9dedc2f18467 (patch) | |
tree | 9d82b93bb2c4a780bc755b392f1d2117476648b5 | |
parent | a4962cd7bac8464d9f8d95d37614ecf595c5487e (diff) | |
download | vim-git-ae906c8b1bf023f4a15f38b4abef9dedc2f18467.tar.gz |
patch 9.0.0729: the rightleft and arabic features are disabledv9.0.0729
Problem: The rightleft and arabic features are disabled.
Solution: Re-enable the features, some users want to use the functionality.
-rw-r--r-- | runtime/doc/rileft.txt | 5 | ||||
-rw-r--r-- | src/feature.h | 16 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 10 insertions, 13 deletions
diff --git a/runtime/doc/rileft.txt b/runtime/doc/rileft.txt index 7c5a60a5a..31a382b6c 100644 --- a/runtime/doc/rileft.txt +++ b/runtime/doc/rileft.txt @@ -35,6 +35,11 @@ encoded for every character (or group of characters) are not supported either as this kind of support is out of the scope of a simple addition to an existing editor (and it's not sanctioned by Unicode either). +As many people working on the code do not use the right-to-left mode, this +feature may not work in some situations. If you can describe what is wrong +and how it would work when fixed, please create an issue on github, see +|bug-reports|. + Highlights ---------- diff --git a/src/feature.h b/src/feature.h index b283e6305..275fbe397 100644 --- a/src/feature.h +++ b/src/feature.h @@ -186,7 +186,7 @@ #endif /* - * +linebreak 'showbreak', 'breakat' and 'linebreak' options. + * +linebreak 'showbreak', 'breakat' and 'linebreak' options. * Also 'numberwidth'. */ #ifdef FEAT_NORMAL @@ -216,6 +216,8 @@ /* * +rightleft Right-to-left editing/typing support. + * Note that this isn't perfect, but enough users say they + * use it to keep supporting it. */ #if defined(FEAT_HUGE) && !defined(DISABLE_RIGHTLEFT) # define FEAT_RIGHTLEFT @@ -234,18 +236,6 @@ # endif #endif -// It is unclear if there are any users of the +rightleft and +arabic fetures. -// The lack of feedback and bug reports suggests that they are not actively -// being used. -// FOR NOW: disable the features here. If nobody complains the code can be -// removed. -#ifdef FEAT_RIGHTLEFT -# undef FEAT_RIGHTLEFT -#endif -#ifdef FEAT_ARABIC -# undef FEAT_ARABIC -#endif - /* * +emacs_tags When FEAT_EMACS_TAGS defined: Include support for * emacs style TAGS file. diff --git a/src/version.c b/src/version.c index 0a8eb005b..3413d52d6 100644 --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 729, +/**/ 728, /**/ 727, |