ci: run tests against Neovim v0.10.0
This commit is contained in:
parent
747befef21
commit
8b7b3dce9e
|
@ -49,7 +49,10 @@ jobs:
|
||||||
run_tests:
|
run_tests:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
nvim_tag: [v0.8.3, v0.9.1]
|
nvim_tag:
|
||||||
|
- v0.8.3
|
||||||
|
- v0.9.4
|
||||||
|
- v0.10.0
|
||||||
|
|
||||||
name: Run tests
|
name: Run tests
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
|
@ -4,6 +4,7 @@ local patch = require("dressing.patch")
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
-- The "report_" functions have been deprecated, so use the new ones if defined.
|
-- The "report_" functions have been deprecated, so use the new ones if defined.
|
||||||
|
---@diagnostic disable: deprecated
|
||||||
local health_start = vim.health.start or vim.health.report_start
|
local health_start = vim.health.start or vim.health.report_start
|
||||||
local health_warn = vim.health.warn or vim.health.report_warn
|
local health_warn = vim.health.warn or vim.health.report_warn
|
||||||
local health_ok = vim.health.ok or vim.health.report_ok
|
local health_ok = vim.health.ok or vim.health.report_ok
|
||||||
|
|
|
@ -40,6 +40,7 @@ M.create_maps_to_plug = function(bufnr, mode, bindings, prefix)
|
||||||
-- HACK for some reason I can't get plug mappings to work in insert mode
|
-- HACK for some reason I can't get plug mappings to work in insert mode
|
||||||
for _, map in ipairs(maps) do
|
for _, map in ipairs(maps) do
|
||||||
if map.lhs == rhs then
|
if map.lhs == rhs then
|
||||||
|
---@diagnostic disable-next-line: cast-local-type
|
||||||
rhs = map.callback or map.rhs
|
rhs = map.callback or map.rhs
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
local global_config = require("dressing.config")
|
local global_config = require("dressing.config")
|
||||||
local patch = require("dressing.patch")
|
local patch = require("dressing.patch")
|
||||||
local util = require("dressing.util")
|
local util = require("dressing.util")
|
||||||
|
---@diagnostic disable-next-line: deprecated
|
||||||
local islist = vim.islist or vim.tbl_islist
|
local islist = vim.islist or vim.tbl_islist
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
Loading…
Reference in New Issue