ref: Use ensure_installed for quicker runs
feat: Try using 0.11.0 for tests
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
neovim: [v0.10.0, nightly]
|
neovim: [v0.11.0]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
name: "OS: ${{ matrix.os }} - Neovim: ${{ matrix.neovim }}"
|
name: "OS: ${{ matrix.os }} - Neovim: ${{ matrix.neovim }}"
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -22,6 +22,12 @@ require("plenary.busted")
|
|||||||
vim.cmd("runtime plugin/nvim-treesitter.lua")
|
vim.cmd("runtime plugin/nvim-treesitter.lua")
|
||||||
|
|
||||||
-- Some tests require the Python parser
|
-- Some tests require the Python parser
|
||||||
vim.cmd([[TSInstallSync! python]])
|
-- vim.cmd([[TSInstallSync! python]])
|
||||||
|
require("nvim-treesitter.configs").setup({
|
||||||
|
ensured_installed = {
|
||||||
|
"python",
|
||||||
|
"lua"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
require("neogen").setup({ snippet_engine = "nvim" })
|
require("neogen").setup({ snippet_engine = "nvim" })
|
||||||
|
|||||||
Reference in New Issue
Block a user