1

Regenerate nvim config

This commit is contained in:
2024-06-02 03:29:20 +02:00
parent 75eea0c030
commit ef2e28883d
5576 changed files with 604886 additions and 503 deletions

View File

@ -0,0 +1,43 @@
name: Bug Report
description: File a bug report
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
attributes:
label: 'Version (lua -v) or (nvim -v | head -n1)'
placeholder: 'LuaJIT 2.1.0-beta3'
validations:
required: true
- type: input
attributes:
label: 'Operating system/version'
placeholder: 'ArchLinux'
validations:
required: true
- type: textarea
attributes:
label: 'How to reproduce the issue'
description: 'How do you trigger this bug? Please walk us through it step by step.'
value: |
1.
2.
3.
...
validations:
required: true
- type: textarea
attributes:
label: 'Expected behavior'
description: 'Describe the behavior you expect. May include logs, images, or videos.'
validations:
required: true
- type: textarea
attributes:
label: 'Actual behavior'
validations:
required: true

View File

@ -0,0 +1 @@
blank_issues_enabled: false

View File

@ -0,0 +1,23 @@
name: Feature request
description: Request an enhancement for promise-async
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Before requesting: search [existing issues](https://github.com/kevinhwang91/promise-async/labels/enhancement).
- type: textarea
attributes:
label: "Feature description"
validations:
required: true
- type: textarea
attributes:
label: "Describe the solution you'd like"
validations:
required: true
- type: textarea
attributes:
label: "Additional context"
validations:
required: false

View File

@ -0,0 +1,30 @@
name: Lint
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install lua-language-server
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd
gh release download -R sumneko/lua-language-server -p '*-linux-x64.tar.gz' -D lua-language-server
tar xzf lua-language-server/* -C lua-language-server
echo "${PWD}/lua-language-server/bin" >> $GITHUB_PATH
export PATH="${PWD}/lua-language-server/bin:${PATH}"
lua-language-server --version
- name: Run Lint
run: make lint

View File

@ -0,0 +1,60 @@
name: Test
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
strategy:
matrix:
include:
- { os: ubuntu-latest, target: nvim, version: stable }
- { os: ubuntu-latest, target: nvim, version: nightly }
- { os: macos-latest, target: nvim, version: stable }
- { os: macos-latest, target: nvim, version: nightly }
- { os: ubuntu-latest, target: lua, version: lua 5.1 }
- { os: ubuntu-latest, target: lua, version: lua 5.2 }
- { os: ubuntu-latest, target: lua, version: lua 5.3 }
- { os: ubuntu-latest, target: lua, version: lua 5.4 }
- { os: ubuntu-latest, target: lua, version: luajit 2.1.0-beta3 }
- { os: macos-latest, target: lua, version: lua 5.1 }
- { os: macos-latest, target: lua, version: lua 5.2 }
- { os: macos-latest, target: lua, version: lua 5.3 }
- { os: macos-latest, target: lua, version: lua 5.4 }
- { os: macos-latest, target: lua, version: luajit 2.1.0-beta3 }
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- if: matrix.target == 'nvim' && matrix.os == 'ubuntu-latest'
name: Install Neovim on Ubuntu
run: |
cd
curl -LO https://github.com/neovim/neovim/releases/download/${{ matrix.version }}/nvim-linux64.tar.gz
tar xzf nvim-linux64.tar.gz
echo "${PWD}/nvim-linux64/bin" >> $GITHUB_PATH
export PATH="${PWD}/nvim-linux64/bin:${PATH}"
nvim -v
- if: matrix.target == 'nvim' && matrix.os == 'macos-latest'
name: Install Neovim on Macos
run: |
cd
curl -LO https://github.com/neovim/neovim/releases/download/${{ matrix.version }}/nvim-macos.tar.gz
tar xzf nvim-macos.tar.gz
echo "${PWD}/nvim-macos/bin" >> $GITHUB_PATH
export PATH="${PWD}/nvim-macos/bin:${PATH}"
nvim -v
- name: Run Test
run: |
if [[ ${{ matrix.target }} == lua ]]; then
export LUA_VERSION="${{ matrix.version }}"
fi
make test_${{ matrix.target }}