diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index e6b2b68..c7a92d3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -12,11 +12,11 @@ body: label: Did you check docs and existing issues? description: Make sure you checked all of the below before submitting an issue options: - - label: I have read all the lazy docs + - label: I have read all the lazy.nvim docs required: true - - label: I have searched the existing issues of lazy + - label: I have searched the existing issues of lazy.nvim required: true - - label: I have searched the exsiting issues of the plugin I have a problem with + - label: I have searched the exsiting issues of plugins related to this issue required: true - type: input attributes: @@ -68,14 +68,7 @@ body: -- bootstrap lazy local lazypath = root .. "/plugins/lazy.nvim" if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "--single-branch", - "https://github.com/folke/lazy.nvim.git", - lazypath, - }) + vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, }) end vim.opt.runtimepath:prepend(lazypath) diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index ad7f1a1..7a10d84 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -8,7 +8,7 @@ body: label: Did you check the docs? description: Make sure you read all the docs before submitting a feature request options: - - label: I have read all the lazy docs + - label: I have read all the lazy.nvim docs required: true - type: textarea validations: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0012797..2adb58f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,17 +15,13 @@ jobs: - name: Install Neovim shell: bash run: | - if [ "$RUNNER_OS" == "Linux" ]; then wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb -O /tmp/nvim.deb sudo dpkg -i /tmp/nvim.deb - else - choco install neovim --pre - echo "C:/tools/neovim/nvim-win64/bin" >> $GITHUB_PATH - fi - name: Run Tests run: | nvim --version - nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests// {minimal_init = 'tests//init.lua', sequential = true}" + [ ! -d tests ] && exit 0 + nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/init.lua', sequential = true}" docs: runs-on: ubuntu-latest needs: tests