break: bump the minimum required neovim version to 0.6 or higher (#1549)

So we can use `vim.json` and `vim.diagnostics`.

If you aren't able to update to 0.6.* yet you should pin the previous commit.
This commit is contained in:
Simon Hauser
2021-12-10 16:32:28 +01:00
committed by GitHub
parent 80cdb00b22
commit 61240ac75a
9 changed files with 29 additions and 24 deletions

View File

@@ -42,9 +42,9 @@ describe("builtin.find_files", function()
width = 0.9,
},
border = false,
}, vim.fn.json_decode([==[%s]==])))
}, vim.json.decode([==[%s]==])))
]],
vim.fn.json_encode(configuration)
vim.json.encode(configuration)
))
end)
@@ -73,10 +73,10 @@ describe("builtin.find_files", function()
width = 0.9,
},
border = false,
}, vim.fn.json_decode([==[%s]==])))
}, vim.json.decode([==[%s]==])))
]],
expected,
vim.fn.json_encode(configuration)
vim.json.encode(configuration)
))
end)
@@ -99,9 +99,9 @@ describe("builtin.find_files", function()
}, vim.tbl_extend("force", {
disable_devicons = false,
sorter = require('telescope.sorters').get_fzy_sorter(),
}, vim.fn.json_decode([==[%s]==])))
}, vim.json.decode([==[%s]==])))
]],
vim.fn.json_encode(configuration)
vim.json.encode(configuration)
))
end)
end