Regenerate nvim config
This commit is contained in:
15
config/neovim/store/lazy-plugins/nvim-lint/.github/linters/.luacheckrc
vendored
Normal file
15
config/neovim/store/lazy-plugins/nvim-lint/.github/linters/.luacheckrc
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
ignore = {
|
||||
"631", -- max_line_length
|
||||
}
|
||||
read_globals = {
|
||||
"vim",
|
||||
"describe",
|
||||
"it",
|
||||
"assert"
|
||||
}
|
||||
files['tests'] = {
|
||||
ignore = {
|
||||
'121', -- Setting a read-only global variable.
|
||||
'122', -- Setting a read-only field of a global variable.
|
||||
}
|
||||
}
|
||||
23
config/neovim/store/lazy-plugins/nvim-lint/.github/workflows/linter.yml
vendored
Normal file
23
config/neovim/store/lazy-plugins/nvim-lint/.github/workflows/linter.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
name: Lint Code Base
|
||||
on:
|
||||
pull_request: ~
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Lint Code Base
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter/slim@v4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VALIDATE_JSCPD: false
|
||||
VALIDATE_PYTHON_BLACK: false
|
||||
32
config/neovim/store/lazy-plugins/nvim-lint/.github/workflows/tests.yml
vendored
Normal file
32
config/neovim/store/lazy-plugins/nvim-lint/.github/workflows/tests.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
---
|
||||
name: Run tests
|
||||
on:
|
||||
pull_request: ~
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Run tests
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
neovim_version: ['nightly', 'v0.6.1']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Prepare plenary
|
||||
run: |
|
||||
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
|
||||
ln -s "$(pwd)" ~/.local/share/nvim/site/pack/vendor/start
|
||||
|
||||
- name: Setup neovim
|
||||
uses: rhysd/action-setup-vim@v1
|
||||
with:
|
||||
neovim: true
|
||||
version: ${{ matrix.neovim_version }}
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
nvim --headless --noplugin -u tests/minimal.vim -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/minimal.vim'}"
|
||||
Reference in New Issue
Block a user