import { op } from "https://deno.land/x/ddc_vim@v4.3.0/deps.ts";
const { arabic } = op;
This option can be set to start editing Arabic text. Setting this option will:
- Set the 'rightleft' option, unless 'termbidi' is set.
- Set the 'arabicshape' option, unless 'termbidi' is set.
- Set the 'keymap' option to "arabic"; in Insert mode CTRL-^ toggles between typing English and Arabic key mapping.
- Set the 'delcombine' option Note that 'encoding' must be "utf-8" for working with Arabic text.
Resetting this option will:
- Reset the 'rightleft' option.
- Disable the use of 'keymap' (without changing its value).
Note that 'arabicshape' and 'delcombine' are not reset (it is a global
option).
NOTE: This option is reset when 'compatible' is set.
Also see
arabic.txt
.
(default off)
only available when compiled with the +arabic
feature