Skip to content

Commit 58ed88a

Browse files
committed
[install]
1 parent 29fadd4 commit 58ed88a

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/install_test.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Neovim
2929
run: |
3030
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
31+
sudo tar -xzf nvim-linux-x86_64.tar.gz -C /usr/local --strip-components=1
3232
rm nvim-linux-x86_64.tar.gz
3333
3434
- name: Install test

‎init.lua‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
if vim.fn.has("nvim-0.12") == 0 then
2+
error("neovim 0.12+ required")
3+
end
4+
15
local aniseed_path = vim.fn.stdpath("data") .. "/lazy/aniseed"
2-
local uv = vim.uv or vim.loop
36

4-
if not uv.fs_stat(aniseed_path) then
7+
if not vim.uv.fs_stat(aniseed_path) then
58
vim.fn.mkdir(vim.fn.fnamemodify(aniseed_path, ":h"), "p")
69
vim.fn.system({
710
"git",

0 commit comments

Comments
 (0)