I broke up with neovim....vim is my best friend now

This commit is contained in:
LinlyBoi
2023-04-30 08:14:07 +03:00
parent 0d185449c5
commit 4a4a6b1e81
5245 changed files with 468325 additions and 25 deletions

View File

@@ -0,0 +1,12 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: asyncomplete
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

View File

@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

View File

@@ -0,0 +1,44 @@
name: linux_neovim
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
name: [neovim-v04-x64,neovim-nightly-x64]
include:
- name: neovim-v04-x64
os: ubuntu-latest
neovim_version: v0.4.3
- name: neovim-nightly-x64
os: ubuntu-latest
neovim_version: nightly
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- name: Download neovim
shell: bash
run: |
mkdir -p ~/nvim/bin
curl -L https://github.com/neovim/neovim/releases/download/${{matrix.neovim_version}}/nvim.appimage -o ~/nvim/bin/nvim
chmod u+x ~/nvim/bin/nvim
- name: Download test runner
shell: bash
run: git clone --depth 1 --branch v1.5.4 --single-branch https://github.com/thinca/vim-themis ~/themis
- name: Run tests
shell: bash
run: |
export PATH=~/nvim/bin:$PATH
export PATH=~/themis/bin:$PATH
export THEMIS_VIM=nvim
nvim --version
themis --reporter spec

View File

@@ -0,0 +1,46 @@
name: linux_vim
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
name: [vim-v82-x64, vim-v81-x64]
include:
- name: vim-v82-x64
os: ubuntu-latest
vim_version: 8.2.0813
glibc_version: 2.15
- name: vim-v81-x64
os: ubuntu-latest
vim_version: 8.1.2414
glibc_version: 2.15
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- name: Download vim
shell: bash
run: |
mkdir -p ~/vim/bin
curl -L https://github.com/vim/vim-appimage/releases/download/v${{matrix.vim_version}}/GVim-v${{matrix.vim_version}}.glibc${{matrix.glibc_version}}-x86_64.AppImage -o ~/vim/bin/vim
chmod u+x ~/vim/bin/vim
- name: Download test runner
shell: bash
run: git clone --depth 1 --branch v1.5.4 --single-branch https://github.com/thinca/vim-themis ~/themis
- name: Run tests
shell: bash
run: |
export PATH=~/vim/bin:$PATH
export PATH=~/themis/bin:$PATH
export THEMIS_VIM=vim
vim --version
themis --reporter spec

View File

@@ -0,0 +1,44 @@
name: mac_neovim
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest]
name: [neovim-v04-x64,neovim-nightly-x64]
include:
- name: neovim-v04-x64
os: macos-latest
neovim_version: v0.4.3
- name: neovim-nightly-x64
os: macos-latest
neovim_version: nightly
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- name: Download neovim
shell: bash
run: curl -L https://github.com/neovim/neovim/releases/download/${{matrix.neovim_version}}/nvim-macos.tar.gz -o ~/nvim.tar.gz
- name: Extract neovim
shell: bash
run: tar xzf ~/nvim.tar.gz -C ~/
- name: Download test runner
shell: bash
run: git clone --depth 1 --branch v1.5.4 --single-branch https://github.com/thinca/vim-themis ~/themis
- name: Run tests
shell: bash
run: |
export PATH=~/nvim-osx64/bin:$PATH
export PATH=~/themis/bin:$PATH
export THEMIS_VIM=nvim
nvim --version
themis --reporter spec

View File

@@ -0,0 +1,22 @@
name: reviewdog
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
vimlint:
name: runner / vint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: vint
uses: reviewdog/action-vint@v1
with:
github_token: ${{ secrets.github_token }}
level: error
reporter: github-pr-review

View File

@@ -0,0 +1,46 @@
name: windows_neovim
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [windows-latest]
name: [neovim-v04-x64,neovim-nightly-x64]
include:
- name: neovim-v04-x64
os: windows-latest
neovim_version: v0.4.3
neovim_arch: win64
- name: neovim-nightly-x64
os: windows-latest
neovim_version: nightly
neovim_arch: win64
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- name: Download neovim
shell: PowerShell
run: Invoke-WebRequest -Uri https://github.com/neovim/neovim/releases/download/${{matrix.neovim_version}}/nvim-${{matrix.neovim_arch}}.zip -OutFile neovim.zip
- name: Extract neovim
shell: PowerShell
run: Expand-Archive -Path neovim.zip -DestinationPath $env:USERPROFILE
- name: Download test runner
shell: PowerShell
run: git clone --depth 1 --branch v1.5.4 --single-branch https://github.com/thinca/vim-themis $env:USERPROFILE\themis
- name: Run tests
shell: cmd
run: |
SET PATH=%USERPROFILE%\Neovim\bin;%PATH%;
SET PATH=%USERPROFILE%\themis\bin;%PATH%;
SET THEMIS_VIM=nvim
nvim --version
themis --reporter spec

View File

@@ -0,0 +1,52 @@
name: windows_vim
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [windows-latest]
name: [vim-v82-x64, vim-v81-x64, vim-v80-x64]
include:
- name: vim-v82-x64
os: windows-latest
vim_version: 8.2.0813
vim_arch: x64
vim_ver_path: vim82
- name: vim-v81-x64
os: windows-latest
vim_version: 8.1.2414
vim_arch: x64
vim_ver_path: vim81
- name: vim-v80-x64
os: windows-latest
vim_version: 8.0.1567
vim_arch: x64
vim_ver_path: vim80
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- name: Download vim
shell: PowerShell
run: Invoke-WebRequest -Uri https://github.com/vim/vim-win32-installer/releases/download/v${{matrix.vim_version}}/gvim_${{matrix.vim_version}}_${{matrix.vim_arch}}.zip -OutFile vim.zip
- name: Extract vim
shell: PowerShell
run: Expand-Archive -Path vim.zip -DestinationPath $env:USERPROFILE
- name: Download test runner
shell: PowerShell
run: git clone --depth 1 --branch v1.5.4 --single-branch https://github.com/thinca/vim-themis $env:USERPROFILE\themis
- name: Run tests
shell: cmd
run: |
SET PATH=%USERPROFILE%\vim\${{matrix.vim_ver_path}};%PATH%;
SET PATH=%USERPROFILE%\themis\bin;%PATH%;
vim --version
themis --reporter spec