Skip to main content
Module

x/denops_std/option/mod.ts>arabic

📚 Standard module for denops.vim
Go to Latest
variable arabic
import { arabic } from "https://deno.land/x/denops_std@v5.1.0/option/mod.ts";

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