patch 9.0.0729: the rightleft and arabic features are disabled

Problem:    The rightleft and arabic features are disabled.
Solution:   Re-enable the features, some users want to use the functionality.
This commit is contained in:
Bram Moolenaar
2022-10-12 11:12:49 +01:00
parent a4962cd7ba
commit ae906c8b1b
3 changed files with 10 additions and 13 deletions

View File

@ -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.