1 parent 29fadd4 commit 58ed88aCopy full SHA for 58ed88a
2 files changed
.github/workflows/install_test.yaml
@@ -28,7 +28,7 @@ jobs:
28
- name: Install Neovim
29
run: |
30
curl -LO https://github.com/neovim/neovim/releases/download/stable/nvim-linux-x86_64.tar.gz
31
- tar -xzf nvim-linux-x86_64.tar.gz -C /usr/local --strip-components=1
+ sudo tar -xzf nvim-linux-x86_64.tar.gz -C /usr/local --strip-components=1
32
rm nvim-linux-x86_64.tar.gz
33
34
- name: Install test
init.lua
@@ -1,7 +1,10 @@
1
+if vim.fn.has("nvim-0.12") == 0 then
2
+ error("neovim 0.12+ required")
3
+end
4
+
5
local aniseed_path = vim.fn.stdpath("data") .. "/lazy/aniseed"
-local uv = vim.uv or vim.loop
6
-if not uv.fs_stat(aniseed_path) then
7
+if not vim.uv.fs_stat(aniseed_path) then
8
vim.fn.mkdir(vim.fn.fnamemodify(aniseed_path, ":h"), "p")
9
vim.fn.system({
10
"git",
0 commit comments