ref: Use ensure_installed for quicker runs

feat: Try using 0.11.0 for tests
This commit is contained in:
Danymat
2024-07-23 16:34:53 +02:00
parent 519e819ca1
commit 0f08a6123d
2 changed files with 8 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
neovim: [v0.10.0, nightly]
neovim: [v0.11.0]
runs-on: ${{ matrix.os }}
name: "OS: ${{ matrix.os }} - Neovim: ${{ matrix.neovim }}"
steps:

View File

@@ -22,6 +22,12 @@ require("plenary.busted")
vim.cmd("runtime plugin/nvim-treesitter.lua")
-- 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" })