aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2015-04-22 19:50:52 -0300
committerFelipe Oliveira Carvalho <felipekde@gmail.com>2015-04-24 20:37:13 -0300
commitbcfc37ea98136c449077baa8d97e2334da20d9fc (patch)
treefd409abd34a3e08fcddbbea0c4e07f3ec82c7e23 /src/nvim/ex_docmd.c
parent2ca8afc74eada76f50ae60dbb0d6f1804d36bed5 (diff)
downloadrneovim-bcfc37ea98136c449077baa8d97e2334da20d9fc.tar.gz
rneovim-bcfc37ea98136c449077baa8d97e2334da20d9fc.tar.bz2
rneovim-bcfc37ea98136c449077baa8d97e2334da20d9fc.zip
Replace vim_isspace() with ascii_isspace() defined in ascii.h
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index b4bd6e1bd5..f76ab923b2 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -3718,7 +3718,7 @@ static char_u *getargcmd(char_u **argp)
if (*arg == '+') { /* +[command] */
++arg;
- if (vim_isspace(*arg) || *arg == '\0')
+ if (ascii_isspace(*arg) || *arg == '\0')
command = dollar_command;
else {
command = arg;
@@ -3742,7 +3742,7 @@ skip_cmd_arg (
int rembs /* TRUE to halve the number of backslashes */
)
{
- while (*p && !vim_isspace(*p)) {
+ while (*p && !ascii_isspace(*p)) {
if (*p == '\\' && p[1] != NUL) {
if (rembs)
STRMOVE(p, p + 1);