aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test65.in4
-rw-r--r--src/nvim/testdir/test86.in20
-rw-r--r--src/nvim/testdir/test87.in20
-rw-r--r--src/nvim/version.c1
4 files changed, 12 insertions, 33 deletions
diff --git a/src/nvim/testdir/test65.in b/src/nvim/testdir/test65.in
index ca53f27555..2fc5aacdcc 100644
--- a/src/nvim/testdir/test65.in
+++ b/src/nvim/testdir/test65.in
@@ -2,10 +2,6 @@ Test for floating point and logical operators.
STARTTEST
:so small.vim
-:if !has("float")
-: e! test.ok
-: wq! test.out
-:endif
:"
:$put =printf('%f', 123.456)
:$put =printf('%e', 123.456)
diff --git a/src/nvim/testdir/test86.in b/src/nvim/testdir/test86.in
index 99102c4d89..958bd57e29 100644
--- a/src/nvim/testdir/test86.in
+++ b/src/nvim/testdir/test86.in
@@ -255,14 +255,10 @@ EOF
:py f=l[0]
:delfunction New
:py ee('f(1, 2, 3)')
-:if has('float')
-: let l=[0.0]
-: py l=vim.bindeval('l')
-: py l.extend([0.0])
-: $put =string(l)
-:else
-: $put ='[0.0, 0.0]'
-:endif
+:let l=[0.0]
+:py l=vim.bindeval('l')
+:py l.extend([0.0])
+:$put =string(l)
:let messages=[]
:delfunction DictNew
py <<EOF
@@ -328,12 +324,8 @@ EOF
:$put =string(l)
:let d=pyeval('{"a": "b", "c": 1, "d": ["e"]}')
:$put =sort(items(d))
-:if has('float')
-: let f=pyeval('0.0')
-: $put =string(f)
-:else
-: $put ='0.0'
-:endif
+:let f=pyeval('0.0')
+:$put =string(f)
:" Invalid values:
:for e in ['"\0"', '{"\0": 1}', 'undefined_name', 'vim']
: try
diff --git a/src/nvim/testdir/test87.in b/src/nvim/testdir/test87.in
index 0bb5119624..cad778e858 100644
--- a/src/nvim/testdir/test87.in
+++ b/src/nvim/testdir/test87.in
@@ -252,14 +252,10 @@ EOF
:py3 f=l[0]
:delfunction New
:py3 ee('f(1, 2, 3)')
-:if has('float')
-: let l=[0.0]
-: py3 l=vim.bindeval('l')
-: py3 l.extend([0.0])
-: $put =string(l)
-:else
-: $put ='[0.0, 0.0]'
-:endif
+:let l=[0.0]
+:py3 l=vim.bindeval('l')
+:py3 l.extend([0.0])
+:$put =string(l)
:let messages=[]
:delfunction DictNew
py3 <<EOF
@@ -325,12 +321,8 @@ EOF
:$put =string(l)
:let d=py3eval('{"a": "b", "c": 1, "d": ["e"]}')
:$put =sort(items(d))
-:if has('float')
-: let f=py3eval('0.0')
-: $put =string(f)
-:else
-: $put ='0.0'
-:endif
+:let f=py3eval('0.0')
+:$put =string(f)
:" Invalid values:
:for e in ['"\0"', '{"\0": 1}', 'undefined_name', 'vim']
: try
diff --git a/src/nvim/version.c b/src/nvim/version.c
index b0bd38b7de..6ca226b45f 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -68,7 +68,6 @@ static char *(features[]) = {
"+farsi",
"+file_in_path",
"+find_in_path",
- "+float",
"+folding",
"-footer",