Skip to content

Commit 164eae6

Browse files
committed
Merge remote-tracking branch 'upstream/master'
* upstream/master: Add missing space to gcc linter (dense-analysis#4791). (dense-analysis#5088) Utilizing -fzf for tsserver responses along with regular lsp responses (dense-analysis#5084) Fix markdownlint output format (dense-analysis#5085) fix: replace deprecated client.request method call with colon syntax (dense-analysis#5081) fix vale option (dense-analysis#5086) fix-proselint (dense-analysis#5074) fix gopls without setting ale_go_gopls_init_options (dense-analysis#5059)
2 parents 8eb4803 + 6d99629 commit 164eae6

28 files changed

+382
-127
lines changed

ale_linters/asciidoc/proselint.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" Author: Daniel M. Capella https://github.com/polyzen
22
" Description: proselint for AsciiDoc files
33

4+
call ale#Set('proselint_executable', 'proselint')
5+
46
call ale#linter#Define('asciidoc', {
57
\ 'name': 'proselint',
6-
\ 'executable': 'proselint',
7-
\ 'command': 'proselint %t',
8+
\ 'executable': function('ale#proselint#GetExecutable'),
9+
\ 'command': function('ale#proselint#GetCommandWithVersionCheck'),
810
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
911
\})

ale_linters/asm/gcc.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function! ale_linters#asm#gcc#GetCommand(buffer) abort
99
" -fsyntax-only doesn't catch everything.
1010
return '%e -x assembler'
1111
\ . ' -o ' . g:ale#util#nul_file
12-
\ . '-iquote %s:h'
12+
\ . ' -iquote %s:h'
1313
\ . ' ' . ale#Var(a:buffer, 'asm_gcc_options') . ' -'
1414
endfunction
1515

ale_linters/fountain/proselint.vim

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" Author: Jansen Mitchell https://github.com/JansenMitchell
22
" Description: proselint for Fountain files
33

4+
call ale#Set('proselint_executable', 'proselint')
5+
46
call ale#linter#Define('fountain', {
5-
\ 'name': 'proselint',
6-
\ 'executable': 'proselint',
7-
\ 'command': 'proselint %t',
8-
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
7+
\ 'name': 'proselint',
8+
\ 'executable': function('ale#proselint#GetExecutable'),
9+
\ 'command': function('ale#proselint#GetCommandWithVersionCheck'),
10+
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
911
\})

ale_linters/help/proselint.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" Author: Daniel M. Capella https://github.com/polyzen
22
" Description: proselint for Vim help files
33

4+
call ale#Set('proselint_executable', 'proselint')
5+
46
call ale#linter#Define('help', {
57
\ 'name': 'proselint',
6-
\ 'executable': 'proselint',
7-
\ 'command': 'proselint %t',
8+
\ 'executable': function('ale#proselint#GetExecutable'),
9+
\ 'command': function('ale#proselint#GetCommandWithVersionCheck'),
810
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
911
\})

ale_linters/html/proselint.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" Author: Daniel M. Capella https://github.com/polyzen
22
" Description: proselint for HTML files
33

4+
call ale#Set('proselint_executable', 'proselint')
5+
46
call ale#linter#Define('html', {
57
\ 'name': 'proselint',
6-
\ 'executable': 'proselint',
7-
\ 'command': 'proselint %t',
8+
\ 'executable': function('ale#proselint#GetExecutable'),
9+
\ 'command': function('ale#proselint#GetCommandWithVersionCheck'),
810
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
911
\})

ale_linters/mail/proselint.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" Author: Daniel M. Capella https://github.com/polyzen
22
" Description: proselint for mail files
33

4+
call ale#Set('proselint_executable', 'proselint')
5+
46
call ale#linter#Define('mail', {
57
\ 'name': 'proselint',
6-
\ 'executable': 'proselint',
7-
\ 'command': 'proselint %t',
8+
\ 'executable': function('ale#proselint#GetExecutable'),
9+
\ 'command': function('ale#proselint#GetCommandWithVersionCheck'),
810
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
911
\})

ale_linters/markdown/proselint.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" Author: poohzrn https://github.com/poohzrn
22
" Description: proselint for Markdown files
33

4+
call ale#Set('proselint_executable', 'proselint')
5+
46
call ale#linter#Define('markdown', {
57
\ 'name': 'proselint',
6-
\ 'executable': 'proselint',
7-
\ 'command': 'proselint %t',
8+
\ 'executable': function('ale#proselint#GetExecutable'),
9+
\ 'command': function('ale#proselint#GetCommandWithVersionCheck'),
810
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
911
\})

ale_linters/nroff/proselint.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" Author: Daniel M. Capella https://github.com/polyzen
22
" Description: proselint for nroff files
33

4+
call ale#Set('proselint_executable', 'proselint')
5+
46
call ale#linter#Define('nroff', {
57
\ 'name': 'proselint',
6-
\ 'executable': 'proselint',
7-
\ 'command': 'proselint %t',
8+
\ 'executable': function('ale#proselint#GetExecutable'),
9+
\ 'command': function('ale#proselint#GetCommandWithVersionCheck'),
810
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
911
\})

ale_linters/po/proselint.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" Author: Cian Butler https://github.com/butlerx
22
" Description: proselint for PO files
33

4+
call ale#Set('proselint_executable', 'proselint')
5+
46
call ale#linter#Define('po', {
57
\ 'name': 'proselint',
6-
\ 'executable': 'proselint',
7-
\ 'command': 'proselint %t',
8+
\ 'executable': function('ale#proselint#GetExecutable'),
9+
\ 'command': function('ale#proselint#GetCommandWithVersionCheck'),
810
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
911
\})

ale_linters/pod/proselint.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
" Author: Daniel M. Capella https://github.com/polyzen
22
" Description: proselint for Pod files
33

4+
call ale#Set('proselint_executable', 'proselint')
5+
46
call ale#linter#Define('pod', {
57
\ 'name': 'proselint',
6-
\ 'executable': 'proselint',
7-
\ 'command': 'proselint %t',
8+
\ 'executable': function('ale#proselint#GetExecutable'),
9+
\ 'command': function('ale#proselint#GetCommandWithVersionCheck'),
810
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
911
\})

0 commit comments

Comments
 (0)