w0rp
ad7ffe2875
Merge pull request #1390 from jdeniau/jd-feat-phpCsFixer
...
add php-cs-fixer to list of fixers
2018-03-02 20:40:31 +00:00
Andrew Crites
acbe527e15
Option to open lists vertically ( #1381 )
...
* Add configuration option to open lists vertically
* Add tests, clean up vertical list config
* Vertical list option cleanup
* Use is# for tests
* Order properties in documentation alphabetically
2018-03-02 20:22:29 +00:00
Julien Deniau
fbbb8c17d9
add php-cs-fixer to list of fixers
2018-03-01 15:48:47 +01:00
w0rp
f64db199f1
Fix a typo in the documentation
2018-02-26 17:04:54 +00:00
Josh Leeb-du Toit
7e20d9c639
Add options for markdown_mdl linter
2018-02-26 20:10:55 +11:00
Christian-Gibbons
82f8a04e18
New linter: Flawfinder ( #1361 )
...
* Flawfinder support added for C and C++
A minor modification to gcc handler was made to support flawfinder's
single-line output format that does not have a space following the
colon denoting the warning level. gcc handler still passes its
Vader tests after this modification.
* Documentation fixes
* Revert documentation regression
* Added Flawfinder to table of contents
* Removed trailing whitespace
* Follow ALE conventions better
Added additional documentation and Vader tests
2018-02-25 14:11:04 +00:00
w0rp
478a2883a6
#1363 Make ale#engine#IsCheckingBuffer part of the public API
2018-02-25 12:57:54 +00:00
w0rp
0ddf16194d
Fix #1306 - Tell users how to automatically close the loclist window in the documentation
2018-02-25 12:43:20 +00:00
w0rp
b6ccd60dd0
Merge pull request #1351 from svanharmelen/f-issue-936
...
This fixes issue #936 by linting the whole package
2018-02-25 11:54:05 +00:00
w0rp
b5209d31e8
go vet can only check files now
2018-02-25 11:53:36 +00:00
Sander van Harmelen
ab5257c344
This fixes issue #936 by linting the whole package
2018-02-20 16:11:35 +01:00
Kevin Tindall
716b46e10d
functional pony linter
2018-02-10 13:17:53 -06:00
w0rp
33b3331b04
#1206 Add support for setting options for gobuild, and escape paths better
2018-02-04 13:55:09 +00:00
blyoa
23db293bdf
Add prettier fixer support to vue
2018-02-01 02:30:02 +09:00
w0rp
1832240cff
Merge pull request #1321 from butlerx/feature/po
...
add po support with proselint, writegood, msgfmt and alex
2018-01-28 12:49:18 +00:00
butlerx
9dad25778f
add po support with proselint, writegood, msgfmt and alex
2018-01-27 12:17:15 +00:00
w0rp
bc63325881
Merge pull request #1311 from butlerx/update/prettier-md
...
add prettier support for graphql
2018-01-26 17:30:00 +00:00
w0rp
34e6368610
#1316 Mention that the quickfix list option shouldn't be used with :cfdo
2018-01-25 14:54:39 +00:00
butlerx
be47e37bbc
add prettier support for graphql
2018-01-24 15:25:25 +00:00
w0rp
9849c79ff7
Merge pull request #1157 from elebow/eruby-add-erubi-linter
...
[eruby] Add erubi linter
2018-01-24 10:40:57 +00:00
rhysd
b28a6ddbe4
Support fixing JSON files with fixjson
2018-01-24 10:36:31 +00:00
Rafael Rinaldi
d562d53102
Add jq as a JSON fixer
2018-01-24 10:12:29 +00:00
Fran Casas
038789f0ed
Add Elixir linter for dialyxir ( #1257 )
...
* Add Elixir linter for dialyxir
* Update doc/ale.txt with dialyxir
* Keep elixir tools alphabetically ordered in README
* Add a missing entry for dialyxir to the main documentation file.
2018-01-22 12:21:07 +00:00
w0rp
8675bfc4ab
Merge pull request #1287 from rhysd/prettier-markdown
...
Enable prettier to format markdown files
2018-01-19 17:16:00 +00:00
Eddie Lebow
aa29c91cdc
[eruby] Add erubi linter
...
Erubi is yet another parser for eRuby. This is the default parser in
Rails as of version 5.1. It supports some additional syntax with similar
behavior to Rails' extensions to the language, though incompatible.
Rails currently still recommends their own syntax, so GetCommand still
has to do the translation introduced in
https://github.com/w0rp/ale/pull/1114 .
Erubi does not supply an executable—It is intended to be invoked only
from within a Ruby program. In this case, a one-liner on the command
line.
2018-01-16 00:38:35 -05:00
rhysd
13c839cf16
Enable prettier to format markdown files
2018-01-15 11:28:56 +09:00
jiangzhi.xie
112fcf7dd5
Add a luac linter for Lua
2018-01-08 23:32:02 +08:00
Jelte Fennema
b6d1c41925
Go: Add gotype support ( #1099 )
2018-01-07 12:11:01 +00:00
w0rp
5285b0b332
Merge pull request #1260 from kevinkjt2000/add-ghc-options
...
haskell_ghc_options are now added to the ghc command
2018-01-02 14:05:40 +00:00
w0rp
80342b119a
Merge pull request #1252 from nthapaliya/fish-shell-linter
...
Fish shell linter
2018-01-02 13:32:59 +00:00
w0rp
d9a3722e06
Merge branch 'add-fountain-proselint-support'
2018-01-02 13:23:00 +00:00
w0rp
1e34210f9a
Fix some bad indentation
2018-01-02 13:22:40 +00:00
Kevin Tindall
681c35169f
add ghc entry to the ToC
2018-01-01 22:33:43 -06:00
Niraj Thapaliya
c90b45c559
Edit README and help
2017-12-26 14:10:28 -06:00
Jansen Mitchell
2c9c5dec1e
Add Fountain with proselint info to ale.txt. Add Fountain online documentation.
2017-12-20 12:39:10 -06:00
w0rp
e43e7065da
Fix #1115 - Add support for wrapping all commands with an option
2017-12-20 12:20:38 +00:00
Nick Diego Yamane
d4b43d23f4
Add support for linting git commit message files ( #1233 )
2017-12-20 10:10:07 +00:00
Johannes Wienke
1e574ed5f7
Make alex a file linter
...
alex does not find its configuration file when using temporary files for
input.
2017-12-18 15:26:52 +01:00
w0rp
e4821c7f2f
Indicate that 4.2.0 is no longer strictly required for prettier-eslint, and add links for prettier-eslint and prettier-standard
2017-12-18 10:37:21 +00:00
w0rp
af7eb2b979
Sort the list of supported tools and add vale to more languages
2017-12-18 10:28:49 +00:00
Daniel Parker
938c150880
Update docs
2017-12-18 09:44:02 +00:00
w0rp
c4956657dc
Merge pull request #1220 from languitar/linter-alex
...
Add a linter for alex
2017-12-17 13:11:49 +00:00
w0rp
09d3ecc49b
Clean up some doc formatting
2017-12-17 12:11:30 +00:00
w0rp
c8ee402cce
Merge pull request #1203 from Carpetsmoker/autocmd-start
...
Add ALEStartLint autocmd
2017-12-17 12:06:57 +00:00
w0rp
e06f2ded9d
Update ale.txt
2017-12-17 11:58:05 +00:00
Johannes Wienke
55ca96bd83
Add a linter for alex
...
https://github.com/wooorm/alex
Enabled for text-like file formats and documented in README and doc.
2017-12-13 14:37:42 +01:00
Martin Tournoij
4825cce1cc
Run before lint cycle, rename autocmds
2017-12-10 13:10:52 +00:00
butlerx
0700c2d900
add google-java-format fixer
2017-12-09 14:25:35 +00:00
w0rp
7a71186d62
Merge pull request #1174 from eborden/eborden/add-brittany-for-haskell-formatting
...
Add brittany for Haskell formatting
2017-12-07 19:15:33 +00:00
w0rp
fbc8ac9553
Update ale.txt
2017-12-07 19:01:13 +00:00
w0rp
c6fc9cdb7b
Merge pull request #1192 from fvictorio/add-solhint-support
...
Add solhint support
2017-12-07 18:50:33 +00:00
Martin Tournoij
d6bf13502a
Add ALEStartLint autocmd
...
This grew out of my work in #1193 ; to ensure the statusline was being
updated I had to add:
fun! s:redraw(timer)
redrawstatus
endfun
augroup ALEProgress
autocmd!
autocmd BufWritePost * call timer_start(100, function('s:redraw'))
autocmd User ALELint redrawstatus
augroup end
Which kind of works, but is ugly. With this, I can replace the
`BufWritePost` with:
autocmd User ALEStartLint redrawstatus
Which is much better, IMHO.
Actually, this patch actually replaces adding a function, since you can
do:
augroup ALEProgress
autocmd!
autocmd User ALEStartLint hi Statusline ctermfg=darkgrey
autocmd User ALELint hi Statusline ctermfg=NONE
augroup end
or:
let s:ale_running = 0
let l:stl .= '%{s:ale_running ? "[linting]" : ""}'
augroup ALEProgress
autocmd!
autocmd User ALEStartLint let s:ale_running = 1 | redrawstatus
autocmd User ALELint let s:ale_running = 0 | redrawstatus
augroup end
Both seem to work very well in my testing.
No need to `ale#Statusline#IsRunning()` anymore, I think?
2017-12-07 16:14:20 +00:00
Evan Rutledge Borden
f66837818a
Update doc/ale.txt to include brittany.
2017-12-05 15:04:02 -05:00
Franco Victorio
3e1bd8d922
Update documentation
2017-12-04 14:23:34 -03:00
Jeff Willette
fba3c57872
added importjs fixer
...
- added tests for fixer functions
- added docs
2017-12-05 00:37:31 +09:00
w0rp
a4f8506227
Fix #1186 - Disable checking code with perl by default
2017-12-02 20:43:47 +00:00
Sven-Hendrik Haase
51b127a4fd
Add glslls ( #1179 )
...
* Add glslls-based LSP linter
* Make logfile configureable
2017-12-01 17:36:44 +00:00
Carlos Coêlho
daee4a4722
Add prospector for checking Python code ( #1183 )
2017-12-01 17:04:30 +00:00
w0rp
a990188e27
Fix #1176 - Add an option for caching failing executable checks
2017-11-30 10:34:51 +00:00
Evan Rutledge Borden
edb3a0c5e4
Add brittany for Haskell formatting
...
`brittany` is one of the options for Haskell source formatting. This
adds the necessary fixer files and documentation to support `brittany`
in `ALE`.
2017-11-28 17:58:13 -05:00
w0rp
0ab689db0a
Allow warnings about trailing blank lines to be hidden for flake8 and pycodestyle
2017-11-28 10:08:34 +00:00
w0rp
4e821e64c7
Fix #1168 - Make the ruby linter executable configurable
2017-11-28 09:48:35 +00:00
Benjie Gillam
e84ee4332f
Add support for linting GraphQL with ESLint
2017-11-27 14:41:49 +00:00
w0rp
17574e2fe1
Document go to definition support and put that and completion in an LSP section
2017-11-26 23:02:51 +00:00
w0rp
d07b5b71a4
Add support for post-processing fixer output
2017-11-22 22:32:53 +00:00
w0rp
5d2ab192cf
Support fixer aliases, and make prettier-eslint and prettier-standard just work
2017-11-22 15:31:39 +00:00
w0rp
3f70f1cbf1
Disable piping buffer data into commands for fixing files where needed
2017-11-22 13:01:13 +00:00
Shogo NAMEKI
f20e5a4cf0
Add drafter
for checking API Blueprint files ( #1152 )
2017-11-20 10:57:13 +00:00
w0rp
597507e519
Make the message formats configurable with buffer local variables
2017-11-19 23:44:09 +00:00
w0rp
151f9f857c
Add an FAQ entry explaining how to configure ALE for different buffers.
2017-11-19 13:56:09 +00:00
w0rp
0e96d4576a
Merge pull request #1142 from rhysd/redpen-ext
...
* redpen support for asciidoc, reST, LaTeX and Re:VIEW
* redpen: fix start column
* add redpen as text linter
2017-11-17 16:34:01 +00:00
w0rp
5635b3c864
Fix #741 - Set highlights for entire lines when signs are disabled
2017-11-17 14:29:57 +00:00
rhysd
79f15b0e30
add redpen as text linter
2017-11-17 16:43:16 +09:00
rhysd
44cd07d39c
redpen support for asciidoc, reST, LaTeX and Re:VIEW
2017-11-17 15:34:07 +09:00
w0rp
1f4f19cbd4
Merge pull request #1133 from nicwest/linter-clj-joker
...
add joker handler for clojure
2017-11-16 11:06:27 +00:00
rhysd
c9c52ef370
add tests and doc for redpen support
2017-11-16 18:40:10 +09:00
Nic West
eda20d0585
add joker handler for clojure
...
Adds new linter for clojure using joker
https://github.com/candid82/joker
fixes #975
ref #544 #1040
2017-11-15 22:23:46 +00:00
w0rp
37f2f70439
Update the documentation for GetLoclist
2017-11-15 09:16:36 +00:00
w0rp
48be035da8
Update the documentation for :ALEDetail
2017-11-14 23:29:48 +00:00
w0rp
6b2c61a5cc
Fix #1128 - Add g:ale_linters_explicit for only enabling linters explicitly
2017-11-14 19:55:46 +00:00
Jeff Willette
20a01404f3
Added support for goimports fixer ( #1123 )
...
* Added support for goimports fixer
* added test and executable check
* fixed test assertions to reflect executable check
2017-11-14 17:37:22 +00:00
w0rp
16e7dc2371
Fix #1069 Support formatting the loclist messages with g:ale_loclist_msg_format
2017-11-14 10:28:36 +00:00
w0rp
a5f7f51c9a
#1121 Tell people how to lint when leaving insert mode with Ctrl+C
2017-11-13 10:27:25 +00:00
w0rp
584e0bc7f2
#852 Support formatting echo messages with error codes. No linters set the code
key yet
2017-11-13 00:47:34 +00:00
w0rp
70623ca8a7
Add support for showing Info severities in echoed messages
2017-11-12 23:19:26 +00:00
w0rp
7d056b0839
Update the documentation for the echo message format, so it makes more sense
2017-11-12 23:01:11 +00:00
w0rp
e7b9befaa6
Sort some linter entries alphabetically
2017-11-12 12:11:15 +00:00
w0rp
3c34848e02
Fix #510 Support checking LESS files with stylelint
2017-11-12 12:09:19 +00:00
w0rp
cd5da50531
Add tests for the command and executable callbacks, and make them use local node_modulse esxecutables like other linters
2017-11-12 11:25:24 +00:00
w0rp
d20e3bc71c
#1108 Support setting b:ale_linter_aliases to a List
2017-11-12 10:56:53 +00:00
w0rp
b98387d0fa
#1108 Support using Lists and 'all' for b:ale_linters
2017-11-12 10:56:53 +00:00
w0rp
099df0af52
#1108 Support selecting fixers with Lists
2017-11-12 10:56:53 +00:00
Michael Jungo
39107a48b9
Add ocaml-language-server for OCaml and ReasonML
2017-11-12 10:56:53 +00:00
w0rp
8e0d1f57c6
Fix a typo
2017-11-12 10:56:53 +00:00
w0rp
8cd1ccff84
#1095 Apply all patterns for g:ale_pattern_options, instead of just the first match
2017-11-12 10:56:53 +00:00
jnduli
6c60ca24c1
Add rstcheck linter to check for errors in restructured text ( #1090 )
2017-11-12 10:56:53 +00:00
w0rp
4952e2f143
#1098 Add protoc-gen-lint to the list of supported tools
2017-11-12 10:56:53 +00:00
Jeff Willette
8bc44ed585
Added support for linting of proto files ( #1098 )
...
* Added support for linting of proto files
* Added function to get the proper protoc command
2017-11-12 10:56:53 +00:00
Marcus Zanona
732d8e3ed6
Add support for linting less files with lessc
2017-11-09 10:39:39 -02:00
Auri
8a4cf923a8
Add PyLS linter ( #1097 )
...
* Support PyLS (python language server)
* Replace pyls#GetProjectRoot and add more config types to ale#python#FindProjectRoot
2017-11-08 17:58:56 +00:00
Taylor Blau
248a5eb2f6
ale_linters: add 'dafny' linter
2017-11-07 22:11:49 -08:00
w0rp
1bf894f48c
Fix #1086 - Implement command chaining for fixers
2017-11-07 23:20:14 +00:00
aurieh
3a57e4d151
Update doc and README for Dart LSP
2017-11-07 10:55:43 +02:00
Simon Bugert
716b22d524
Add shfmt fixer for sh files ( #1083 )
...
* Add shfmt fixer for sh files
* Add tests for shfmt fixer
2017-11-05 21:24:41 +00:00
w0rp
9cd0d75c4f
Fix #936 - Check the actual files for gosimple and staticcheck
2017-10-31 13:01:01 +00:00
w0rp
50f7ad3552
#857 - Add b:ale_fix_on_save for controlling fixing on save for specific buffers
2017-10-30 22:19:57 +00:00
w0rp
1575b3d7dd
Merge pull request #1059 from ahmedelgabri/reason-refmt
...
refmt fixer for ReasonML
2017-10-30 11:30:13 +00:00
Ahmed El Gabri
634eb1920c
refmt fixer for ReasonML
2017-10-29 21:48:28 +01:00
w0rp
daecbad543
Fix #719 - Add ALEReset and ALEResetBuffer for removing problems for all buffers or one buffer
2017-10-29 17:03:29 +00:00
w0rp
1aa737cdc9
#817 - Document the buffer toggling options, and define plug mappings for everything
2017-10-29 10:55:02 +00:00
Sam Howie
36898436b5
Add hackfmt fixer
2017-10-27 13:42:55 -07:00
w0rp
d4d939bea9
Fix #1039 - Only check the file on disk for dartanalyzer
2017-10-26 23:31:07 +01:00
Nathaniel Williams
e4456a4e0e
Add tflint fot Terraform
2017-10-26 19:37:04 +01:00
w0rp
f15c8f4127
#1049 Do not modify runtimepath if the conflict warnings are disabled
2017-10-26 12:26:16 +01:00
w0rp
94bdabb8c3
Merge pull request #1044 from sumnerevans/mail-linters
...
#955 Add vale linter for mail files
2017-10-25 00:40:59 +01:00
Sumner Evans
7ac07a30b8
Fix #643 - Add support for write-good for many languages
2017-10-25 00:28:06 +01:00
Sumner Evans
780844ad73
#955 add documentation
2017-10-24 17:14:42 -06:00
w0rp
1a5ef969a5
Merge branch 'aurieh-master'
2017-10-24 22:45:30 +01:00
Christopher Swingley
1c56bebd7c
proselint for mail files ( #1037 )
...
Add proselint for mail files
2017-10-24 22:34:38 +01:00
Zack Kourouma
07dad64acb
adds fixer support for hfmt ( #1027 )
...
Add support for fixing Haskell with hfmt
2017-10-24 22:29:04 +01:00
Diego Oliveira
b172cd8b17
Add phan as a linter for php files ( #1026 )
...
Add phan for checking PHP code
2017-10-24 22:25:02 +01:00
w0rp
c248885e57
Merge pull request #1025 from kfox/add-rustfmt-fixer
...
add rustfmt fixer
2017-10-24 22:20:03 +01:00
aurieh
f0a0aef33d
Update doc/ale.txt & README.md
2017-10-24 15:09:56 +03:00
Carlos Ramos
be1377f6d7
add basic documentation for elixir mix
2017-10-22 19:44:44 -04:00
Kelly Fox
35031a0b8a
add rustfmt fixer
2017-10-21 12:31:49 -05:00
Zack Kourouma
e023e7a2fe
add prettier fixer support for 'less' filetype
2017-10-20 18:29:57 -07:00
rhysd
4339af2bb6
add support for remark-lint
2017-10-19 18:17:04 +09:00
w0rp
010ebc2459
Fix a spelling mistake
2017-10-14 22:00:53 +01:00
w0rp
663fe75d0f
#965 - Make the cursor echo delay configurable
2017-10-12 23:25:41 +01:00
w0rp
e71c4a8bea
#965 - Support limiting the number of signs ALE will set
2017-10-12 23:04:54 +01:00
Linda_pp
70177480ba
Add llc integration for LLVM IR ( #979 )
...
Check LLVM IR with llc
2017-10-10 10:13:09 +01:00
aliou
e376f0ae44
gofmt fixer for Go ( #970 )
...
Add a gofmt fixer for golang.
2017-10-03 18:54:35 +01:00
rhysd
753592ca66
Fix typos
2017-10-03 01:11:54 +09:00
Xristoph Hintermüller
8f6044b8b6
Implemented review recommendations
...
Implements suggestions and recommendations suggested by the first review
of the "Advance C# linter based on mcs -t:module (#952 )" pull request.
- Clarifies and simplifies description of linters and options
- Added links to help file and marked the mcsc linter as to be run only
when file in buffer is saved or loaded.
- Added comments to the mcsc.vim file to clarify code
- removed type checks considered not necessary be reviewer.
- addresses findings by vader
- removed call to getcwd and cd in vim script
- handler expands file names relative to route of source tree into
absolute pathes. Fixes errors not being marked when vim is started
from subdirectory of source tree.
- implements tests for mcs.vim and mcsc.vim linter
2017-09-27 13:21:05 +02:00
Jeff Sutherland
7302bedc5e
Add solidity linter: solium
2017-09-14 01:59:22 +07:00
w0rp
9d24cc4047
Fix numerous issues with integration documentation tags and the table of contents, and add a script to check for theses issues
2017-09-10 19:42:45 +01:00
Clément DOUIN
18a7d32c4c
Elm local install support ( #915 )
...
* Add Elm support for npm local installation
2017-09-10 12:58:42 +01:00
Clément DOUIN
f3da8f45c1
Add elm-format as a new fixer ( #916 )
...
* Add elm-format as a new fixer
2017-09-09 21:30:20 +01:00
Sven-Hendrik Haase
ff28836616
Add GLSL linter using glslang ( #914 )
...
* Add a glslang linter for GLSL
2017-09-08 11:06:47 +01:00
BlahGeek
73d031d7ea
Add cuda nvcc linter ( #874 )
...
* add cuda nvcc linter
2017-09-07 19:23:58 +01:00
Peter Renström
03f1c1e81b
Add 'prettier' fixer support to TypeScript, CSS, SCSS and JSON ( #910 )
...
* Add prettier fixer support for typescript
* Add prettier fixer support for css and scss
* Add prettier fixer support for json
* Use getbufvar() to get &filetype
2017-09-06 15:21:26 +01:00
w0rp
984c4f0658
Document the new lintr option
2017-09-03 23:36:58 +01:00
w0rp
e235e5a6a5
Make the grammar a little better for the g:ale_type_map option
2017-09-03 20:12:54 +01:00
Jake Zimmerman
63e8946fc8
Detect and use CM files for smlnj ( #884 )
...
* Detect and use CM files for smlnj
* Split into two checkers
- one for CM projects
- one for single SML files
* Fix some typos
* Fix error caught by writing tests
We want to actually use `glob` to search in paths upwards from us.
(Previously we were just searching in the current directory every time!)
* Fix errors from former test run
* Write tests for GetCmFile and GetExecutableSmlnj
* Typo in 'smlnj/' fixture filenames
2017-09-03 19:56:14 +01:00
w0rp
f9b43a566c
#505 - Do not lint files on enter if the option for linting when the filetype changed is on
2017-09-02 16:57:01 +01:00
w0rp
7c2a5052a8
Fix #895 - Run Node.js scripts with node.exe instead of node on Windows
2017-08-31 13:12:24 +01:00
Pavel Pertsev
6e423a94cd
Fix docs for prettier-eslint ver
2017-08-30 22:20:35 +01:00
w0rp
ed9cdca127
Merge remote-tracking branch 'randrej/master' into c-clang-tidy
2017-08-30 22:08:41 +01:00
Jon Parise
f4c5d29c64
Add a linter for Apache Thrift IDL files
...
This linter works by invoking the `thrift` compiler with the buffer
contents and reporting any parser and code generation issues.
The handler rolls its own output-matching loop because we have the
(unfortunate) requirement of handling error output that spans multiple
lines.
Unit tests cover both the command callback and handler, and there is
initial documentation for all of the option variables.
2017-08-30 11:08:06 -07:00
w0rp
0827cb5483
Use two exclamation marks for marking lint file linters, which are easier to see and click
2017-08-28 22:08:55 +01:00
w0rp
8e3c1dbd11
Fix - #883 Document linting behavior better, sync up the lists of supported tools, andautomatically demand that they stay in sync
2017-08-28 22:05:12 +01:00
Michael
8f8d015dae
Add pycodestyle Python linter support ( #872 )
...
Add a pycodestyle linter
2017-08-25 12:46:56 +01:00
Peter Renström
4bea50b82f
Add clang-format fixer for C/C++ ( #873 )
...
* Add clang-format fixer for C/C++
* Document clang-format options
* Refer ale-cpp-clangformat to ale-c-clangformat
2017-08-24 22:49:43 +01:00
w0rp
9d3bda4441
Merge pull request #865 from jez/erubis-linter
...
Add erubis linter
2017-08-22 10:33:08 +01:00
Jake Zimmerman
b356d56448
Add erubis linter
...
This linter works largely the same as the existing `erubylint` linter,
except it works with `erubis` instead of `erb` as the driving command.
2017-08-21 13:51:42 -07:00
w0rp
47e681529b
Merge pull request #862 from notomo/add-phpcbf-fixer
...
add phpcbf fixer
2017-08-20 13:42:03 +01:00
Michiel Westerbeek
d646ebda72
Added new linter for GraphQL: gqlint ( #863 )
...
* Added new linter for GraphQL: GQLint
* added help-files
2017-08-20 13:36:46 +01:00
w0rp
c7193e775e
#653 Document the automatic error prompt closing behaviour
2017-08-20 13:35:27 +01:00
tmn-o3
5a9a365aed
add phpcbf fixer
2017-08-20 05:47:21 +00:00
w0rp
e5d0a17694
#653 - Explain the new filename
key support in the documentation
2017-08-20 00:16:28 +01:00
w0rp
fb0c931b2d
Update the documentation to mention the new behaviour for quickfix
2017-08-19 14:35:01 +01:00
w0rp
be4347084e
Increase the default maximum completion suggestions to a more useful but safe level, and filter before requesting details, which is faster
2017-08-18 22:34:18 +01:00
w0rp
2365fd2948
Document completion support for ALE, and expand the fixer documentation a little
2017-08-18 00:08:58 +01:00
Scott Bonds
322910dc0b
Add linter for Idris ( #838 )
...
* Add linter for Idris
* Fix parsing warnings and column ranges in Idris linter
* Make Idris linter configurable. Fix help tag.
2017-08-10 21:09:58 +01:00
w0rp
dcf7cbe366
Merge pull request #842 from gfontenot/gf-swiftformat
...
Add support for SwiftFormat as a fixer
2017-08-10 21:06:55 +01:00
w0rp
9ae2df1958
Automatically check for invalid help tag references, and fix some existing documentation issues
2017-08-10 10:45:12 +01:00
w0rp
2dcd2ee4da
Fix some broken tag links
2017-08-10 10:14:42 +01:00
Gordon Fontenot
4709e67627
Add support for SwiftFormat as a fixer
...
SwiftFormat is a tool that can be used to format Swift files. This commit adds
support for using SwiftFormat as a fixer from ALE. It looks for executables in
the Pods directory, then the Pods directory for a React Native project, then
finally falls back to the globally installed instance if neither of those were
found.
https://github.com/nicklockwood/SwiftFormat
2017-08-09 12:41:21 -05:00
w0rp
670858f774
Fix #468 - Add a cool down period for when things go wrong
2017-08-09 00:05:55 +01:00
w0rp
ac8cc6d991
Document the extra optional argument for ale#Queue
2017-08-08 23:52:28 +01:00
w0rp
16cfedf04a
Fix #271 - Add the ability to open the quickfix or loclist windows only after saving a file
2017-08-08 00:46:42 +01:00
w0rp
2c4700ab7f
#517 - Document arguments for defining LSP linters
2017-08-07 13:31:29 +01:00
w0rp
39ebb431b6
Document the PHP langserver integration
2017-08-07 13:08:51 +01:00
w0rp
f7d7abe5b2
Document the rls linter
2017-08-07 13:00:17 +01:00
Andrej Radovic
a767578d44
Added clang-tidy for C, too.
...
A limited number of clang-tidy checks can be used with C, too. I pretty much
copied and refactored the C++ clang-tidy linter, and added some documentation
about C-compatible checks.
2017-08-05 16:42:28 +02:00
Nick James
a3d2fb5688
Add Tcl nagelfar linter
2017-08-02 23:05:19 +01:00
w0rp
235fc90e22
Fix #308 - Check Dart files with dartanalyzer
2017-07-18 23:57:33 +01:00
Matthew Turland
da410caff8
Add yaml swaglint linter ( #771 )
...
* Add yaml swaglint linter
2017-07-17 20:28:21 +01:00
w0rp
bd5ff5b1e5
Merge pull request #774 from dmitrivereshchagin/syntaxerl-linter
...
Add SyntaxErl linter
2017-07-16 15:06:55 +01:00
Ardis
7d174b0056
Added phpstan linter for php. ( #772 )
...
* Added phpstan linter for php.
2017-07-16 15:04:25 +01:00
Dmitri Vereshchagin
1aea6a34ff
Add SyntaxErl linter
...
These changes add [SyntaxErl][1] integration. SyntaxErl is a syntax
checker tool for Erlang.
[1]: https://github.com/ten0s/syntaxerl
2017-07-16 15:35:21 +03:00
w0rp
15c48650e7
#739 - Document the end_col and end_lnum keys for the loclist format
2017-07-16 00:40:20 +01:00
w0rp
507e32e91c
#764 - Update the documentation to mention how to echo messages with the ALELint autocmd
2017-07-14 00:33:12 +01:00
Kevin Kays
4c50aec79c
Add scalastyle linter ( #766 )
...
* Add support for scalastyle
* Add scalastyle docs
* scalastyle support for column numbers
* off by one column
* Add tests for scalastyle command and handler
* update readme for scalastyle
* allow full scalastyle options instead of just config file
* fix indentation
* allow scalastyle config file in parent directories by a couple names.
* check for missing match args with empty
* remove echo
* use a for loop
2017-07-13 23:41:01 +01:00
Eddie Lebow
bc32e24203
Add rails_best_practices handler ( resolves #655 ) ( #751 )
...
* Move FindRailsRoot() to more general location
* Add rails_best_practices handler (resolves #655 )
* Update documentation for rails_best_practices
Also add brakeman to *ale* documentation.
* rails_best_practices: allow overriding the executable
* rails_best_practices: format help correctly
* rails_best_practices: capture tool output on Windows
2017-07-12 10:43:47 +01:00
Julian Andrews
bbabdd0043
Fix documentation typo
2017-07-11 16:14:18 -06:00
Jake Zimmerman
768f761017
Prefer --fast for stack-build ( #754 )
...
* Vim scripts shouldn't have hyphens
Especially not ones that will be autoloaded. You can't have a hyphen in
a function name, so autoloading functions based on filename will fail.
* Add g:haskell_stack_build_options, default: --fast
If we're going to use the --fast option, we may as well go the whole 9
yards and let the user configure the 'stack build' flags.
* Create documentation for stack-build options
2017-07-11 13:05:13 +01:00
Jake Zimmerman
b50a7318fb
Add new Haskell linter ( #742 )
...
* Add stack-build linter for Haskell
The stack-build linter works better than the other two linters when
you're working with an entire Haskell project. It builds the project
entirely and reports any errors.
The other two Haskell GHC linters only work on single files, which can
result in spurious errors (for example, not being able to find imports).
* Document all available Haskell linters
* Split GHC checkers into separate files
2017-07-09 22:39:33 +01:00
w0rp
1b55e5edab
Fix a syntax error in an example
2017-07-08 22:52:34 +01:00
Andrew Vimmer
4fd5bf81be
Added missing statement about <Plug>(ale_toggle)
mapping to the documentation ( #740 )
...
* Added missing statement about a `<Plug>` mapping.
* Fixed logical mistake related to "option calling".
* Rectified article usage according to a request.
2017-07-08 22:10:23 +01:00
w0rp
996732d5a6
Document the virtualenv directories variable in the main file instead
2017-07-08 14:30:12 +01:00
w0rp
7b7a275902
Store the output of commands by default so I don't have to ask people to turn it on any more.
2017-07-04 00:17:13 +01:00
w0rp
a1cf7f67a1
Fix #182 - Add support for lintr
2017-07-03 22:34:30 +01:00
w0rp
84b280b881
Fix #178 - Check Stylus files with stylelint
2017-07-03 16:57:39 +01:00
w0rp
79e8e063af
Make pug-lint detect node_modules executables, and add options for pug-lint like the other linters
2017-06-29 11:40:03 +01:00
Tarik Graba
01ecf2a75f
Adds an option to pass additional arguments to the verilog/verilator … ( #698 )
...
* Adds an option to pass additional arguments to the verilog/verilator linter
The new otion is g:ale_verilog_verilator_options
+ doc
* Spell check verilog linter doc file
* Add entries to the verilog linters in the doc table of content
* Vader test for verilog/verilator linter args option verilog_verilator_options
2017-06-29 09:15:52 +01:00
Adam Stankiewicz
7eec1f2efc
Add prettier-standard support ( #702 )
...
* Add prettier-standard support
* Update ale-javascript.txt
Remove a duplicated header line.
2017-06-28 16:35:19 +01:00
w0rp
8846a8860f
Use a new window for the ALEFixSuggest command, and document it better
2017-06-28 16:20:05 +01:00
w0rp
499bf63dc3
#678 - Document the sign column color behaviour
2017-06-27 09:44:02 +01:00
w0rp
b9d91f0e9b
Document :ALEInfo better
2017-06-26 22:08:55 +01:00
w0rp
d5c9a4eb87
#171 - Document every highlight
2017-06-26 21:49:20 +01:00
Gagbo
dc647fcc7f
Add clangcheck Linter to cpp ( #686 )
...
Add a clangcheck linter
2017-06-24 16:10:04 +01:00
w0rp
1ea61162a0
Fix #687 - Check files on enter if they have changed
2017-06-24 12:24:31 +01:00
w0rp
a105aa90a5
Fix #668 - Support eslint for TypeScript
2017-06-20 10:50:38 +01:00
w0rp
629ff513ec
#659 - Add options for Python fixers, and cut down on duplicated documentation
2017-06-18 11:03:31 +01:00
w0rp
f814be45b1
Fix #536 - Implement linter problem type re-mapping
2017-06-14 17:59:13 +01:00
w0rp
6f858590c2
Fix FusionScript documentation text alignment
2017-06-14 09:37:24 +01:00
Ryan
e8cc40b139
Add fusion-lint, documentation, and tests ( #648 )
...
* Add `fusion-lint` for first FusionScript linter
* Add documentation over `fusion-lint`
* Add tests for `fusion-lint` command callback
2017-06-14 09:35:11 +01:00
w0rp
ba83c476cd
Document the tsserver linter
2017-06-13 17:59:09 +01:00
Steven Humphrey
99263bdda4
Perlcritic column number and rule names ( #640 )
...
* Add column number to perlcritic linting output
This returns the column number of the perlcritic error so that ale can
show the column in addition to the line where perlcritic found an error.
* Add perlcritic configuration for rule names
This adds a configuration setting so that the name of the perlcritic
rule is shown [Rule::Name] after the error message.
This is useful to lookup the rule failure.
* Add a vader test for perlcritic#GetCommand
2017-06-11 21:13:47 +01:00
Marcio Mazza
14d86f8763
Fix typo
2017-06-08 17:43:28 +02:00
w0rp
f30652a98f
Allow ALEFix functions to be defined with only the buffer argument
2017-06-06 23:13:53 +01:00
w0rp
e88eb6c415
Use BufWinEnter for g:ale_lint_on_enter instead
2017-06-06 17:01:17 +01:00
Daniel Hahler
3be60bf034
doc: fix typo: s/the the/to the/
2017-06-05 17:06:48 +02:00
Drew Neil
33b0852c84
Add :ALEFirst and :ALELast commands ( #616 )
...
* Add :ALEFirst and :ALELast commands
* Add documentation for ALEFirst and ALELast commands
* Add tests for ale#loclist_jumping#JumpToIndex()
* Fix the loclist jumping tests
2017-06-03 12:45:52 +01:00
w0rp
fcb5718712
Document that prettier and prettier-eslint are supported
2017-06-03 12:31:27 +01:00
w0rp
fbd76fb63d
Document the <Plug>(ale_fix) mapping
2017-06-01 21:13:05 +01:00
w0rp
0d3d5657ff
#607 - Update the documentation for ale-fix to suggest an assignment which will work in vimrc
2017-06-01 21:08:43 +01:00
w0rp
d5ae9b50ea
Fix #499 Set an explicit height for the quickfix list, and make the height configurable
2017-06-01 10:39:21 +01:00
w0rp
735a6a2a88
Fix #537 - Add support for balloons
2017-05-31 22:04:33 +01:00
w0rp
6ec965c8e4
#591 Support fixing files on save
2017-05-30 21:32:51 +01:00
w0rp
aca5a00fb7
Fix #500 - Support defining aliases for linter names
2017-05-27 21:27:42 +01:00
w0rp
62dae1cc6b
Support both prettier and prettier-eslint
2017-05-27 18:31:52 +01:00
w0rp
00d3141962
Fix #577 Add an option preventing linting of large files
2017-05-26 21:21:15 +01:00
w0rp
9460e58c3b
Fix #371 Allow ALE to be disabled in different buffers
2017-05-26 16:20:17 +01:00
w0rp
c77cf0e518
#371 Allow buffer variables to be set based on patterns
2017-05-26 15:59:43 +01:00
w0rp
6f76a840f0
Merge pull request #579 from alphastorm/master
...
Fix minor typo in the g:ale_lint_on_insert_leave docs
2017-05-25 13:40:56 +01:00
w0rp
5ee2ada8e9
Mention the Count argument in the documentation
2017-05-25 13:32:46 +01:00
Sunil Srivatsa
da8fd647bf
Fix minor typo in the g:ale_lint_on_insert_leave docs
2017-05-25 01:47:59 -07:00
w0rp
92ade713f2
#323 Document ale#statusline#Count() instead, and encourage its use
2017-05-24 10:23:13 +01:00
w0rp
c8ce15d9f1
Fix a minor typo
2017-05-21 22:46:22 +01:00
w0rp
b67c103d06
#309 Add an option for changing the sign column color when problems are detected
2017-05-21 22:42:27 +01:00
w0rp
23ee0d0992
#149 - Set different highlights for info, style error, and style warning problems
2017-05-21 19:22:48 +01:00
w0rp
f92bbab8cf
#149 - Support Info, style error, and style warning types for problems for signs
2017-05-20 23:32:41 +01:00
w0rp
74d879952c
Document ALEFix
2017-05-20 19:02:36 +01:00
Qusic
af6470c8d0
add clang for objc and objcpp
2017-05-20 00:58:09 +08:00
q12321q
cdf0fb39e5
Add xmllint linter ( #559 )
...
* Add xmllint linter for xml
2017-05-18 09:31:12 +01:00
Dawid Kurek
9185a0d2e5
Add cpplint linter
2017-05-16 19:09:59 +02:00
w0rp
42155049a5
Merge pull request #551 from meunierd/add-checkstyle-linter
...
Add checkstyle linter
2017-05-15 20:58:06 +01:00
Devon Meunier
9baae52d1a
Add checkstyle linter
2017-05-15 15:41:04 -04:00
wisut hantanong
3f33dc7d98
Haskell: add ghc-mod linter
2017-05-15 19:46:02 +01:00
w0rp
f6723784e6
#427 Document that the trailing whitespace option can be set differently in each buffer
2017-05-07 17:17:00 +01:00
w0rp
ab7ab7d6e3
Fix #530 - Fix LaTeX and TeX duplicate entries in documentation
2017-05-03 23:35:33 +01:00
Francis Agyapong
36314aeaf2
Add kotlinc checker for kotlin ( #526 )
...
* Add kotlinc checker for kotlin
2017-05-02 18:27:04 +01:00
Robert J
d5c135cfaf
Glue for Vale ( #522 )
...
Add Vale linter definitions
2017-05-01 16:06:04 +01:00
w0rp
10679b29c3
Sort out some documentation for ReasonML
2017-04-27 00:23:06 +01:00
w0rp
5d5ba2a780
#427 Allow linters and aliases to be configured in buffer local variables
2017-04-25 23:52:13 +01:00
w0rp
3345bf20ca
Fix #450 Document how linters are loaded
2017-04-24 22:40:15 +01:00
wisut hantanong
368adb5c3a
update doc/ale.txt
2017-04-24 17:27:45 +07:00
w0rp
9238976522
Add some more tags to the documentation, for easy references
2017-04-23 18:06:26 +01:00
Eddie Lebow
0384cabd77
Add the Reek checker for Ruby. ( #490 )
...
Add the Reek checker for Ruby.
2017-04-20 07:37:08 +01:00
w0rp
c6ef9e28a5
#427 Document the buffer variables, at least slightly
2017-04-19 23:56:02 +01:00
Jason Tibbitts
4eeb4783d3
Add rpm spec file linter (rpmlint) ( #486 )
...
* Initial attempt at an rpmlint linter.
* Add some basic documentation.
* Play with indentation in the test file.
* Another attempt to fix the rpmlint test.
* Hopefully this does it.
2017-04-19 23:40:58 +01:00
Shane Smith
72449d7cb1
Add missing "use global" var for tslint ( #484 )
...
* Add missing "use global" var for tslint
* Add typescript tslint documentation
2017-04-18 09:28:54 +01:00
w0rp
35c831dd2c
Merge pull request #471 from breed808/gometalinter
...
Add gometalinter linter for go files
2017-04-15 21:09:23 +01:00
w0rp
f0d76bc298
Use g:ale_linters for turning gometalinter on, and update documentation as appropriate
2017-04-15 21:04:43 +01:00
w0rp
7c49f5d4cc
Mention Crystal in the online documentation
2017-04-15 11:37:09 +01:00
Adriaan Zonnenberg
8351bdbc06
Add SQL linter sqlint, closes #395 ( #472 )
2017-04-15 11:24:05 +01:00
valtermro
475dd2e76a
Add support for multiple filetypes in filetype aliasing
2017-04-12 19:47:34 -03:00
Adrian
d28d7f732a
Add support for linting Handlebars templates with ember-template-lint ( #452 )
...
* Ember-template-lint Handlebars template linter: initial handler, test.
* Handlebars support with ember-template-lint: basic documentation entries.
2017-04-07 15:38:50 +01:00
José Júnior
4caf273d53
Adds options to foodcritic linter ( #437 )
...
* Adds options to foodcritic linter
Adds a way to pass command line options to the foodcritic command and
documentation about it.
* Creates a simple test for foodcritic command callback
This test simply runs the GetCommand function for the foodcritic linter
and feeds it with some test variables to assert the command line is
being created/escaped correctly.
* Makes foodcritic linter use a command callback
Following review comments, changes the foodcritic linter to use a
`GetCommand` callback for the `command_callback` linter option.
Makes sure that `~` are escaped: flags on foodcritic command line are
negated by adding a `~` in front of the specific cop name:
```
foodcritic -t ~FC011
```
But the way the commands are executed cause foodcritic to fail (since
tilde is recognized as home directory).
* Fixes the doc to include new variables
2017-04-05 18:21:47 +01:00
w0rp
7c736579b7
Fix #438 Create Java .class files for javac in a temporary directory
2017-03-31 20:14:53 +01:00
w0rp
7a8dbe1139
Clean up some whitespace
2017-03-31 19:50:52 +01:00
Steven Lu
ef5b900657
adds line highlights style ( #436 )
...
* adds line highlights style
* adding doc for the new highlight styles.
* missing space
2017-03-31 19:22:25 +01:00
w0rp
6c97cd335b
Merge pull request #429 from breed808/go
...
Add support for gosimple and staticcheck
2017-03-30 23:28:19 +01:00
taylorskalyo
36f9631512
Add options to facilitate linting only in normal mode ( #425 )
...
* [#420 ] Add options to facilitate linting only in normal mode
ale_lint_on_text_changed:
Allow setting to 'insert' or 'normal' to lint when text is changed only in
insert or normal mode respectively.
ale_lint_on_insert_leave:
This flag can be set to 1 to enable linting when leaving insert mode.
* [#420 ] Test updated global options
Ale should
- bind to TextChanged events when g:ale_lint_on_text_changed = 1
- bind to TextChanged events when g:ale_lint_on_text_changed = 'always'
- bind to InsertLeave event when g:ale_lint_on_insert_leave = 1
2017-03-30 23:21:37 +01:00
Ben Reedy
43f24f4c01
Add support for gosimple and staticcheck
2017-03-30 11:49:52 +10:00
w0rp
4b9b4e3338
#326 Document existing StandardJS options
2017-03-28 23:49:06 +01:00
w0rp
81b49b2dff
Merge pull request #424 from adriaanzon/command-enable-disable
...
Add :ALEEnable and :ALEDisable commands
2017-03-28 23:28:13 +01:00
w0rp
d7f8324c3c
Move linter documentation into separate files
2017-03-28 23:25:44 +01:00
Adriaan Zonnenberg
6a5d8ba5d0
Add :ALEEnable and :ALEDisable commands
2017-03-29 00:04:58 +02:00
w0rp
ab3fd2e849
Fix #130 - Run linters when the filetype is changed
2017-03-27 22:40:25 +01:00
w0rp
c9ee3efc11
Enabling linting on save by default, re #333
2017-03-27 20:36:35 +01:00
w0rp
cd82740ade
Document the Dogma linter
2017-03-27 13:02:25 +01:00
Idan Arye
2f40953e03
Make cargo linter lighter: ( #408 )
...
- Use `cargo check` instead of `cargo build` when
`g:ale_rust_cargo_use_check` is truish.
- Use `--frozen` to avoid locking the project.
2017-03-27 12:37:00 +01:00
Lucas Kolstad
d84d91ff35
Add support for ASM files using GCC
2017-03-25 16:36:17 -07:00
w0rp
59b5644fb3
Clean up the documentation some more, and make the description of the ALELint autocmd clearer
2017-03-22 08:57:29 +00:00
w0rp
18bae7da2e
#333 Finish implementing the lint_file option
2017-03-21 14:52:02 +00:00
w0rp
3e13e10e03
#333 Change arguments for ale#Queue so they are more obvious, and check files in more places
2017-03-21 13:38:27 +00:00
w0rp
6550cdfbd0
Make it clearer that global variables should be set in vimrc, in the Rust documentation
2017-03-21 12:39:12 +00:00
Dylan Araps
551d53aa67
Fix shellcheck typo in docs. shellckeck -> shellcheck ( #402 )
2017-03-21 12:35:44 +00:00
baabelfish
297bc8553c
Add support for nim check
2017-03-18 19:45:37 +02:00
w0rp
e7d32fe376
#333 Pass in a flag indicating that linters should be run against files, and clear more jobs
2017-03-14 23:51:57 +00:00
Markus Doits
fae26369d4
add slim-lint ( #388 )
...
* add slim-lint
* add slim readme entry
* add slim entry to doc
* add slimlint vader test
2017-03-13 23:21:59 +00:00
Paul Johnson
c2ceb9e085
FIX #344 - Add options to Perl linter
...
Conflicts:
doc/ale.txt
2017-03-11 14:53:30 +00:00
w0rp
21caf54543
Make the navigation commands only work with ALE's pre-sorted list
2017-03-07 23:31:25 +00:00
w0rp
75a2dc5ff5
Complain loudly when other conflicting plugins are installed
2017-03-06 23:15:34 +00:00
Alistair Bill
be57b545b7
Add support for nix linting
2017-03-05 20:36:29 +00:00
Patrick Lewis
9e9e15bc87
Add hamllint linter for Haml ( #377 )
...
* Add hamllint linter for Haml
* Simplify hamllint
2017-03-03 20:27:07 +00:00
Jasper Woudenberg
7030758da6
Fix documentation error.
2017-03-02 23:20:00 -08:00
Jasper Woudenberg
ae88263f0f
Add documentation for ALEDetail
2017-03-02 18:55:22 -08:00
Daniel M. Capella
18508f7453
proselint: Add more supported filetypes ( #367 )
...
* proselint: Add more suported filetypes
* proselint: Minor consistency fixes
* Vim help: Disable linters by default
2017-03-02 00:06:09 +00:00
equal-l2
4fa52fd98a
Use latest C++ standard
2017-03-01 02:42:35 +09:00
w0rp
ceeff6c723
Fix #288 - Add a command for running ALE
2017-02-28 09:10:58 +00:00
w0rp
31d328b272
Fix a mistake in the documentation
2017-02-27 22:22:39 +00:00
w0rp
7a92c3a046
Merge pull request #366 from kbenzie/cmakelint
...
Add cmakelint support for cmake filetype
2017-02-27 22:21:42 +00:00
w0rp
b2fe1b2567
Copy all loclist items returned from handlers, and set up defaults for convenience
2017-02-26 14:51:22 +00:00
Kenneth Benzie (Benie)
b5e603bbc5
Add cmakelint support for cmake filetype
2017-02-25 17:27:03 +00:00
paulo alem
677e55df0f
Add sml support via smlnj
2017-02-18 00:05:33 -02:00
w0rp
eac0a41ae1
#254 Add an option for logging the output of commands
2017-02-16 23:18:57 +00:00