aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-09-14 10:12:33 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-09-15 08:21:31 -0300
commit037ca796a0782fc03409dd7f9500113937ed32b7 (patch)
treee4bdc56cb3dbbddbb8603e7239bd65ac97c3c5a9
parent5d35484203cb950a7ba0ed0d9428cb58b37212ff (diff)
downloadrneovim-037ca796a0782fc03409dd7f9500113937ed32b7.tar.gz
rneovim-037ca796a0782fc03409dd7f9500113937ed32b7.tar.bz2
rneovim-037ca796a0782fc03409dd7f9500113937ed32b7.zip
eval.c: Rename has('neovim') feature to has('nvim')
To follow the convention of 'nvim' for technical references
-rw-r--r--runtime/doc/nvim_clipboard.txt4
-rw-r--r--runtime/doc/nvim_python.txt2
-rw-r--r--src/nvim/eval.c2
-rw-r--r--src/nvim/testdir/test86.in2
4 files changed, 5 insertions, 5 deletions
diff --git a/runtime/doc/nvim_clipboard.txt b/runtime/doc/nvim_clipboard.txt
index ab7a8c3423..3dd5fb5fcb 100644
--- a/runtime/doc/nvim_clipboard.txt
+++ b/runtime/doc/nvim_clipboard.txt
@@ -36,9 +36,9 @@ by Nvim):
This should enable the '+' and '*' registers. As an optional step, set the
'unnamedclip' option to transparently access clipboard using the unnamed
register. If you use the same |vimrc| for both Vim and Nvim, make sure you
-only set the option when `has('neovim')` is true:
+only set the option when `has('nvim')` is true:
>
- if has('neovim')
+ if has('nvim')
set unnamedclip
endif
<
diff --git a/runtime/doc/nvim_python.txt b/runtime/doc/nvim_python.txt
index bb644507f7..b618562900 100644
--- a/runtime/doc/nvim_python.txt
+++ b/runtime/doc/nvim_python.txt
@@ -30,7 +30,7 @@ simple step-by-step:
- Add the following snippet to your `vimrc`, before any python plugins are
loaded:
>
- if has('neovim')
+ if has('nvim')
runtime! plugin/python_setup.vim
endif
<
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index ee6b94e849..00033e3866 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -9842,7 +9842,7 @@ static void f_has(typval_T *argvars, typval_T *rettv)
"windows",
"winaltkeys",
"writebackup",
- "neovim",
+ "nvim",
NULL
};
diff --git a/src/nvim/testdir/test86.in b/src/nvim/testdir/test86.in
index ecb06bafd3..11ff35cfd3 100644
--- a/src/nvim/testdir/test86.in
+++ b/src/nvim/testdir/test86.in
@@ -9,7 +9,7 @@ STARTTEST
:so small.vim
:set encoding=latin1
:set noswapfile
-:if !has('python') || has('neovim') | e! test.ok | wq! test.out | endif
+:if !has('python') || has('nvim') | e! test.ok | wq! test.out | endif
:lang C
:fun Test()
:py import vim