summaryrefslogtreecommitdiffstats
path: root/runtime/doc/digraph.txt
diff options
context:
space:
mode:
authormityu <mityu.mail@gmail.com>2021-07-19 20:07:21 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-19 20:07:21 +0200
commit6106504e9edc8500131f7a36e59bc146f90180fa (patch)
tree69249dd7c9375375cb414ea31e3b5523e8947344 /runtime/doc/digraph.txt
parent98c2eaed27579602e05e7b96aa3a60428a8b9cb2 (diff)
patch 8.2.3184: cannot add a digraph with a leading spacev8.2.3184
Problem: Cannot add a digraph with a leading space. It is not easy to list existing digraphs. Solution: Add setdigraph(), setdigraphlist(), getdigraph() and getdigraphlist(). (closes #8580)
Diffstat (limited to 'runtime/doc/digraph.txt')
-rw-r--r--runtime/doc/digraph.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/digraph.txt b/runtime/doc/digraph.txt
index 79c7cf042d..9715a88469 100644
--- a/runtime/doc/digraph.txt
+++ b/runtime/doc/digraph.txt
@@ -38,6 +38,9 @@ An alternative is using the 'keymap' option.
< Avoid defining a digraph with '_' (underscore) as the
first character, it has a special meaning in the
future.
+ NOTE: This command cannot add a digraph that starts
+ with a white space. If you want to add such digraph,
+ you can use |setdigraph()| instead.
Vim is normally compiled with the |+digraphs| feature. If the feature is
disabled, the ":digraph" command will display an error message.