Skip to content

Commit 71d7b03

Browse files
Merge branch 'master' into add-diff-lint-option
2 parents bd00739 + ca1da76 commit 71d7b03

File tree

2,102 files changed

+56809
-15135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,102 files changed

+56809
-15135
lines changed

.appveyor.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@ branches:
1010
- master
1111
- /v\d+\.\d+\.(x|\d+)/
1212

13+
# Skip running Windows tests if we only change files that can't impact
14+
# Windows tests.
15+
skip_commits:
16+
files:
17+
- '.github/**/*'
18+
- .gitattributes
19+
- Dockerfile
20+
- README.md
21+
- doc/*
22+
- lua/*
23+
- run-tests
24+
- supported-tools.md
25+
- syntax/*
26+
1327
# Cache the vim and vader directories between builds.
1428
cache:
1529
- C:\vim -> .appveyor.yml
@@ -19,15 +33,18 @@ init:
1933
# Stop git from changing newlines
2034
- git config --global core.autocrlf input
2135

36+
# NOTE: If you change the Vim or Vader versions here, please also update the
37+
# instructions for running tests on Windows in ale-development.txt
38+
2239
install:
2340
# Download and unpack Vim
2441
- ps: >-
2542
if (!(Test-Path -Path C:\vim)){
2643
Add-Type -A System.IO.Compression.FileSystem
27-
Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586w32.zip `
44+
Invoke-WebRequest https://github.com/dense-analysis/ale/releases/download/v4.0.0/vim80-586w32.zip `
2845
-OutFile C:\vim.zip
2946
[IO.Compression.ZipFile]::ExtractToDirectory('C:\vim.zip', 'C:\vim')
30-
Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586rt.zip `
47+
Invoke-WebRequest https://github.com/dense-analysis/ale/releases/download/v4.0.0/vim80-586rt.zip `
3148
-OutFile C:\rt.zip
3249
[IO.Compression.ZipFile]::ExtractToDirectory('C:\rt.zip', 'C:\vim')
3350
}

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ insert_final_newline = true
1212
indent_style = space
1313
indent_size = 4
1414
trim_trailing_whitespace = true
15+
16+
[*.vader]
17+
indent_style = space
18+
indent_size = 2

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
blank_issues_enabled: false
3+
contact_links:
4+
- name: Ask for Help
5+
url: https://github.com/dense-analysis/ale/discussions/new?category=q-a-ask-for-help-with-problems
6+
about: Ask for Help in ALE Discussions

.github/ISSUE_TEMPLATE/report-a-bug.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
name: Report a bug
33
labels: bug
4+
type: Bug
45
about: Report a bug with ALE.
56

67
---
@@ -40,7 +41,9 @@ Are you having trouble configuring ALE? Try asking for help on [Stack Exchange](
4041
2. Then this happened.
4142

4243
### :ALEInfo
43-
44-
<!-- Paste the output of :ALEInfo here. Try :ALEInfoToClipboard -->
45-
<!-- Make sure to run :ALEInfo from the buffer where the bug occurred. -->
46-
<!-- Read the output. You might figure out what went wrong yourself. -->
44+
<details>
45+
<summary>Expand</summary>
46+
<!-- Paste the output of :ALEInfo here. Try :ALEInfo -clipboard -->
47+
<!-- Make sure to run :ALEInfo from the buffer where the bug occurred. -->
48+
<!-- Read the output. You might figure out what went wrong yourself. -->
49+
</details>

.github/ISSUE_TEMPLATE/suggest-a-new-linter-or-fixer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
name: Suggest a new linter or fixer
33
labels: new tool
4+
type: Task
45
about: Suggest a new tool ALE can officially integrate with.
56

67
---

.github/ISSUE_TEMPLATE/suggest-an-improvement.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
name: Suggest an improvement
33
labels: enhancement
4+
type: Feature
45
about: Suggest some way to improve ALE, or add a new feature.
56

67
---

.github/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
# This configuration closes stale PRs after 56 + 7 days.
3+
# That's 8 weeks until stale bot complains, and a week until it closes a PR.
4+
# Issues in ALE are never, ever stale. They are either resolved or not.
5+
only: pulls
6+
daysUntilStale: 56
7+
daysUntilClose: 7
8+
exemptLabels: []
9+
staleLabel: stale
10+
markComment: >
11+
This pull request has been automatically marked as stale because it has not
12+
been updated recently. Make sure to write tests and document your changes.
13+
See `:help ale-dev` for information on writing tests.
14+
15+
If your pull request is good to merge, bother w0rp or another maintainer
16+
again, and get them to merge it.
17+
closeComment: false

.github/workflows/main.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: CI
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
branches: [ master ] # yamllint disable-line rule:brackets
6+
tags:
7+
- v[0-9]+.[0-9]+.x
8+
- v[0-9]+.[0-9]+.[0-9]+
9+
pull_request:
10+
branches: [ master ] # yamllint disable-line rule:brackets
11+
12+
jobs:
13+
build_image:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Build docker run image
18+
shell: bash
19+
env:
20+
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
21+
DOCKER_HUB_PASS: ${{ secrets.DOCKER_HUB_PASS }}
22+
run: ./run-tests --build-image
23+
test_ale:
24+
needs: build_image
25+
runs-on: ubuntu-latest
26+
strategy:
27+
matrix:
28+
vim-version:
29+
- '--vim-80-only'
30+
- '--vim-90-only'
31+
- '--neovim-07-only'
32+
- '--neovim-08-only'
33+
- '--lua-only'
34+
- '--linters-only'
35+
steps:
36+
- uses: actions/checkout@v4
37+
- name: Run tests
38+
run: ./run-tests -v ${{ matrix.vim-version }}

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
!.editorconfig
22
*.obj
3+
*.pyc
34
# Ignore all hidden files everywhere.
45
# Use `git add -f` to add hidden files.
56
.*
6-
__pycache__
7-
*.pyc
87
/doc/tags
98
/init.vim
109
/test/ale-info-test-file
10+
/vader_output
11+
__pycache__
1112
tags

.luarc.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
3+
"diagnostics.globals": [
4+
"vim"
5+
],
6+
"workspace.ignoreDir": [
7+
"test"
8+
],
9+
"workspace.library": [
10+
"/usr/share/nvim/runtime/lua",
11+
"/opt/homebrew/share/nvim/runtime/lua"
12+
],
13+
"runtime.pathStrict": true,
14+
"runtime.path": [
15+
"lua/?.lua",
16+
"lua/?/init.lua"
17+
],
18+
"runtime.version": "LuaJIT",
19+
"hint.enable": false
20+
}

0 commit comments

Comments
 (0)