Mercurial > vim
comparison src/feature.h @ 15136:1f3fe26f8e3f v8.1.0578
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure
commit https://github.com/vim/vim/commit/5c5697f29829fc3b21fc5452fe8f239f6a4cb8e1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 12 20:34:09 2018 +0100
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure
Problem: Cannot disable arabic, rightleft and farsi in configure.
Solution: Add configur flags. (Diego Fernando Carri?n, closes https://github.com/vim/vim/issues/1867)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Dec 2018 20:45:06 +0100 |
parents | 4caa51067cb8 |
children | 9df130fd5e0d |
comparison
equal
deleted
inserted
replaced
15135:229f8e0696c7 | 15136:1f3fe26f8e3f |
---|---|
261 /* | 261 /* |
262 * +rightleft Right-to-left editing/typing support. | 262 * +rightleft Right-to-left editing/typing support. |
263 * | 263 * |
264 * Disabled for EBCDIC as it requires multibyte. | 264 * Disabled for EBCDIC as it requires multibyte. |
265 */ | 265 */ |
266 #if defined(FEAT_BIG) && !defined(EBCDIC) | 266 #if defined(FEAT_BIG) && !defined(DISABLE_RIGHTLEFT) && !defined(EBCDIC) |
267 # define FEAT_RIGHTLEFT | 267 # define FEAT_RIGHTLEFT |
268 #endif | 268 #endif |
269 | 269 |
270 /* | 270 /* |
271 * +farsi Farsi (Persian language) Keymap support. | 271 * +farsi Farsi (Persian language) Keymap support. |
272 * Requires FEAT_RIGHTLEFT. | 272 * Requires FEAT_RIGHTLEFT. |
273 * | 273 * |
274 * Disabled for EBCDIC as it requires multibyte. | 274 * Disabled for EBCDIC as it requires multibyte. |
275 */ | 275 */ |
276 #if defined(FEAT_BIG) && !defined(EBCDIC) | 276 #if defined(FEAT_BIG) && !defined(DISABLE_FARSI) && !defined(EBCDIC) |
277 # define FEAT_FKMAP | 277 # define FEAT_FKMAP |
278 #endif | 278 #endif |
279 #ifdef FEAT_FKMAP | 279 #ifdef FEAT_FKMAP |
280 # ifndef FEAT_RIGHTLEFT | 280 # ifndef FEAT_RIGHTLEFT |
281 # define FEAT_RIGHTLEFT | 281 # define FEAT_RIGHTLEFT |
286 * +arabic Arabic keymap and shaping support. | 286 * +arabic Arabic keymap and shaping support. |
287 * Requires FEAT_RIGHTLEFT and FEAT_MBYTE. | 287 * Requires FEAT_RIGHTLEFT and FEAT_MBYTE. |
288 * | 288 * |
289 * Disabled for EBCDIC as it requires multibyte. | 289 * Disabled for EBCDIC as it requires multibyte. |
290 */ | 290 */ |
291 #if defined(FEAT_BIG) && VIM_SIZEOF_INT >= 4 && !defined(EBCDIC) | 291 #if defined(FEAT_BIG) && !defined(DISABLE_ARABIC) && VIM_SIZEOF_INT >= 4 && !defined(EBCDIC) |
292 # define FEAT_ARABIC | 292 # define FEAT_ARABIC |
293 #endif | 293 #endif |
294 #ifdef FEAT_ARABIC | 294 #ifdef FEAT_ARABIC |
295 # ifndef FEAT_RIGHTLEFT | 295 # ifndef FEAT_RIGHTLEFT |
296 # define FEAT_RIGHTLEFT | 296 # define FEAT_RIGHTLEFT |