Skip to main content
Module

x/dpp_vim/deps.ts>op.arabic

Dark powered plugin manager for Vim/neovim
Latest
variable op.arabic
import { op } from "https://deno.land/x/dpp_vim@v0.2.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

type

LocalOption<boolean>