-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding the ability to remove arabic, and farsi support. #1867
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1867 +/- ##
==========================================
+ Coverage 75.06% 75.25% +0.19%
==========================================
Files 76 74 -2
Lines 125274 123243 -2031
==========================================
- Hits 94032 92750 -1282
+ Misses 31242 30493 -749
Continue to review full report at Codecov.
|
Note that even with no change in the configure script, it is already possible to define or undefine FEAT_RIGHTLEFT, FEAT_ARABIC and/or FEAT_FKMAP in feature.h (which sets +rightleft if either +arabic or +farsi is requested). ATM they are enabled in Big and Huge builds except in EBCDIC, and disabled in other builds. +multi_byte is of course required. IIUC +rightleft alone (and +multi_byte required by it) is sufficient for Hebrew script. Best regards, |
Yes, I myself regularly build with the Huge feature set, however these specific features are not needed, so I figured it'd be nice to just be able to toggle these off through the configure script instead of always having to edit features.h |
I wanted to add that having farsi and arabic features in OSX terminal, breaks the native terminal Arabic shaping and shows incorrect results inside vim. I'm trying to disable them but I get: I have no idea how this feature would show up in different Unix terminals but as a native to Arabic script, I totally recommend removing them from huge build option. |
I don't recommend disabling them but rather using them properly in the manner outlined lower down this post; however they can be disabled at compile-time as follows: There is indeed no The Vim source is distributed via a Git repository at github and a Mercurial mirror at bitbucket. I use Mercurial and https://vim.wikia.com/wiki/Getting_the_Vim_source_with_Mercurial explains (under the heading "Complex case: You have local changes and/or" (etc.)) how I make Mercurial keep my Now how to use them properly and avoid "breaking" Arabic display: Even with
Best regards, |
Not sure if this is the correct way to add these configure script features. And I'm also not sure why autoconf now wants to remove the runstatedir flag. I figured I'd go ahead and submit this pull request for your review, so that I might get some pointers on what I might need to fix or if I'm even going about this the right way.