Skip to content

Commit 08edbf0

Browse files
authored
ci: add neovim 0.12 (#2006)
1 parent 07ee1f1 commit 08edbf0

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
include:
3333
- neovim: "v0.11.6"
3434
os: "ubuntu-latest"
35+
- neovim: "v0.12.0"
36+
os: "ubuntu-latest"
3537
- neovim: "stable"
3638
os: "windows-latest"
3739
steps:

.github/workflows/emmylua-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
luals-check:
1313
strategy:
1414
matrix:
15-
neovim: ["nightly"]
15+
neovim: ["0.12", "nightly"]
1616
lua: ["luajit-master", "5.1"]
1717
runs-on: ubuntu-latest
1818

@@ -27,7 +27,7 @@ jobs:
2727
- name: Install tools
2828
uses: jdx/mise-action@v2
2929
with:
30-
install_args: "github:neovim/neovim@nightly"
30+
install_args: "github:neovim/neovim@${{matrix.neovim}}"
3131

3232
- name: Run emmylua_check
3333
continue-on-error: true

.github/workflows/luals-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
luals-check:
1313
strategy:
1414
matrix:
15-
neovim: ["nightly"]
15+
neovim: ["0.12", "nightly"]
1616
lua: ["luajit-master", "5.1"]
1717
runs-on: ubuntu-latest
1818

tests/neo-tree/sources/document_symbols/commands_spec.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ local treesitter_utils = require("tests.utils.treesitter")
55
local lsp_utils = require("tests.utils.lsp")
66
local verify = require("tests.utils.verify")
77

8-
if vim.fn.has("nvim-0.11") == 0 then
9-
-- Skip on versions below 0.11 due to requiring treesitter parsers
8+
if vim.fn.has("nvim-0.12") == 0 then
9+
-- Skip on versions below 0.12 due to nvim-treesitter following latest stable version
1010
return
1111
end
1212
describe("document_symbols commands", function()

tests/utils/treesitter.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ local install_dir = root_dir .. "/.repro"
99
---@param lang string
1010
---@param timeout number?
1111
function M.ensure_parser(lang, timeout)
12-
assert(vim.fn.has("nvim-0.11") == 1, "ensure_parser only works on nvim 0.11+")
13-
timeout = timeout or 2 * 60 * 1000
14-
-- install w/ nvim-treesitter master command
12+
assert(vim.fn.has("nvim-0.12") == 1, "ensure_parser only works on nvim 0.11+")
13+
timeout = timeout or 2 * 60 * 1000 -- 120 seconds
14+
-- install w/ nvim-treesitter main command
1515

1616
local nts = require("nvim-treesitter")
1717
nts.setup({

0 commit comments

Comments
 (0)