aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-09-08 23:45:27 -0400
committerGitHub <noreply@github.com>2020-09-08 20:45:27 -0700
commitdf6b49b4ee5a4e4d022baf68b8e1177102243160 (patch)
tree9445e0bc76b5adb26424a82c59e0fbe81e966cb1
parentaa4557920696c45335f42f03e7b23b7038b5864e (diff)
downloadrneovim-df6b49b4ee5a4e4d022baf68b8e1177102243160.tar.gz
rneovim-df6b49b4ee5a4e4d022baf68b8e1177102243160.tar.bz2
rneovim-df6b49b4ee5a4e4d022baf68b8e1177102243160.zip
vim-patch:8.2.1635: no digraph for 0x2022 BULLET #12876
Problem: No digraph for 0x2022 BULLET. Solution: Use "oo". (Hans Ginzel, closes vim/vim#6904) https://github.com/vim/vim/commit/57ad94c5a9ee6f3626e1ec728519a8558a4346c8
-rw-r--r--runtime/doc/digraph.txt1
-rw-r--r--src/nvim/digraph.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/digraph.txt b/runtime/doc/digraph.txt
index 7f807b5eee..271b8c2597 100644
--- a/runtime/doc/digraph.txt
+++ b/runtime/doc/digraph.txt
@@ -913,6 +913,7 @@ char digraph hex dec official name ~
‟ 9" 201F 8223 DOUBLE HIGH-REVERSED-9 QUOTATION MARK
† /- 2020 8224 DAGGER
‡ /= 2021 8225 DOUBLE DAGGER
+• oo 2022 8226 BULLET
‥ .. 2025 8229 TWO DOT LEADER
… ,. 2026 8230 HORIZONTAL ELLIPSIS
‰ %0 2030 8240 PER MILLE SIGN
diff --git a/src/nvim/digraph.c b/src/nvim/digraph.c
index 65d95ff158..dd32cef1e3 100644
--- a/src/nvim/digraph.c
+++ b/src/nvim/digraph.c
@@ -856,6 +856,7 @@ static digr_T digraphdefault[] =
{ '9', '"', 0x201f },
{ '/', '-', 0x2020 },
{ '/', '=', 0x2021 },
+ { 'o', 'o', 0x2022 },
{ '.', '.', 0x2025 },
{ ',', '.', 0x2026 },
{ '%', '0', 0x2030 },