aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/digraph.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-13 19:32:06 -0700
committerGitHub <noreply@github.com>2019-09-13 19:32:06 -0700
commit9cf8cf605d85ec043d4e39f73ac42c7482c6f901 (patch)
treeb0a8ec8985c5bdfb1882ee847ff64b42c98d3e0a /src/nvim/digraph.c
parent427cf16e44d047c14e0ca1b95eb09fc8b8eb2f3d (diff)
parent6aae0e7c943267d2109ae20ec5086791c3b94a5e (diff)
downloadrneovim-9cf8cf605d85ec043d4e39f73ac42c7482c6f901.tar.gz
rneovim-9cf8cf605d85ec043d4e39f73ac42c7482c6f901.tar.bz2
rneovim-9cf8cf605d85ec043d4e39f73ac42c7482c6f901.zip
Merge #11015 from justinmk/getdigits
getdigits: introduce `strict`, `def` parameters
Diffstat (limited to 'src/nvim/digraph.c')
-rw-r--r--src/nvim/digraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/digraph.c b/src/nvim/digraph.c
index ea9b210255..f6ec350488 100644
--- a/src/nvim/digraph.c
+++ b/src/nvim/digraph.c
@@ -1618,7 +1618,7 @@ void putdigraph(char_u *str)
EMSG(_(e_number_exp));
return;
}
- int n = getdigits_int(&str);
+ int n = getdigits_int(&str, true, 0);
// If the digraph already exists, replace the result.
dp = (digr_T *)user_digraphs.ga_data;