Luxed
6b3086237a
Add Haskell IDE Engine (hie) support ( #1735 )
...
* Adding support for haskell-ide-engine
* Work with the current directory if no stack.yaml file is found
* Added Cabal file detection, updated documentation and added tests
* Updated help
2018-08-02 20:24:58 +01:00
Fred Emmott
238201805d
Split Hack out from PHP, modernize
...
fixes #1738
- Replace previous `hh_client` usage with LSP client
- Add `HHAST` linter
- Split Hack from PHP: Hack is increasingly diverging from PHP:
- Hack tools do not understand PHP
- Most PHP tools do not handle Hack code well (including vim's syntax
highightling files)
- http://github.com/hhvm/vim-hack now sets filetype to `hack`
2018-08-02 11:28:56 -07:00
w0rp
5f024eda09
Merge pull request #1771 from fredemmott/lsp
...
Show LSP diagnostic codes for `%code%` in message formats
2018-08-02 19:22:45 +01:00
Fred Emmott
e722841fa3
Improved documentation for code
loclist item field
2018-08-02 09:24:45 -07:00
Fred Emmott
2768bf15ba
Handle LSP codes for %code%
in message formats
...
fixes #1767
2018-08-02 09:06:48 -07:00
w0rp
399a0d3c98
#1700 - Mention how to work around the completeopt bug in the documentation
2018-07-31 20:34:37 +01:00
actionless
c2cfe2326d
doc: mark vulture
as file linter
2018-07-26 14:41:13 +02:00
Yauhen Kirylau
8517e901ff
Add support for 'vulture' for Python
2018-07-26 08:41:27 +01:00
jtalowell
c57b031876
Providing cquery support for C files
2018-07-25 14:23:13 +10:00
Andrey Melentyev
9b4963847d
Add Clangd language server support for C
2018-07-22 21:22:38 +02:00
w0rp
baa44bb3a7
Merge pull request #1742 from typetetris/master
...
Add cabal-ghc linter
2018-07-22 14:12:23 +01:00
w0rp
04fbea6e80
Merge pull request #1736 from unpairedbracket/master
...
Add support for Fortran language server by @hansec
2018-07-20 21:05:24 +01:00
w0rp
0d37aaac7a
Fix #1631 - Disable balloon support for terminals by default
2018-07-20 16:10:25 +01:00
Eric Wolf
ac6bc6d0ae
Add cabal-ghc linter
...
cabal-ghc calls ghc via cabal exec and so ghc has access to packages
in cabal sandboxes for example
2018-07-20 16:48:27 +02:00
Ben Spiers
e8bea510df
Add documentation and testing for fortls
2018-07-19 22:27:47 +01:00
Ben Spiers
324838adae
Add support for Fortran language server by @hansec
2018-07-19 18:47:37 +01:00
w0rp
a01fab2ee6
Fix #1619 - Rewrite lint on enter events so they behave better
2018-07-17 00:18:34 +01:00
w0rp
8b707b4cdc
Add a missing ToC entry for remark-lint
2018-07-16 13:34:30 +01:00
w0rp
72f002de94
Update the Python documentation
2018-07-15 19:26:45 +01:00
MTDL9
5df735555c
Add kotlin language server support ( #1725 )
...
* Add kotlin languageserver linter definition
* Added kotlin languageserver references in docs, fix missing !! on other linters
* Added Vader tests for root path detection in Kotlin Language Server
2018-07-15 18:54:18 +01:00
w0rp
a42999a639
Massively reduce the amount of code needed for linter tests
2018-07-15 18:28:28 +01:00
w0rp
a782e06223
Handle linter callback functions being unknown or deleted
2018-07-13 09:47:26 +01:00
w0rp
c1a2aa27f3
Merge pull request #1697 from ananace/add-puppet-languageserver
...
puppet: Add puppet-languageserver linter
2018-07-07 12:08:14 +01:00
w0rp
cb8643ce74
Remove an outdated note from the documentation
2018-07-06 08:20:48 +01:00
w0rp
da692b2e2d
Support formatting escaped executable names into commands with %e
2018-07-05 20:56:31 +01:00
Alexander Olofsson
fd42e8e935
vue: Add the vls language server linter
2018-07-05 14:04:20 +02:00
Alexander Olofsson
42ae06a288
puppet: Add puppet-languageserver linter
2018-07-04 15:08:25 +02:00
w0rp
9ddf1b6a05
Make the language option for LSP linters optional
2018-07-04 13:12:58 +01:00
w0rp
73d3030cf1
Merge pull request #1691 from dsifford/dsifford-python-pyre
...
add pyre lsp linter to python linters
2018-07-03 08:31:01 +01:00
w0rp
e46474ac0a
Close #830 - Implement LSP connections via TCP sockets
2018-07-03 01:41:46 +01:00
Derek P Sifford
23394bf4a5
add pyre to table in doc/ale.txt
2018-07-01 15:14:13 -04:00
Derek P Sifford
ea6d720fec
add pyre lsp linter to python linters
2018-07-01 14:59:49 -04:00
w0rp
d456ac19ca
Fix a typo in the documentation
2018-07-01 19:56:24 +01:00
Govind KP
9d98e6db0c
Added dartfmt fixer ( #1683 )
...
* Added dartfmt to Fixers
* Added dartfmt specific documentation
2018-07-01 13:55:41 +01:00
w0rp
ee81351a63
Move design goals to online documentation
2018-06-28 16:20:30 +01:00
w0rp
980aa35566
Merge pull request #1675 from nicopauss/master
...
Improve pyrex cython linter.
2018-06-27 21:39:36 +01:00
Christian Höltje
49d995a521
sh: add bash-language-server linter
2018-06-25 11:21:53 -04:00
Nicolas Pauss
bedd30ee11
Improve pyrex cython linter.
...
Like many other linters, use variables for the executable and options
used by the linter.
By default, the linter now report every warnings as errors with
`--warning-errors`.
Also add include directory and set working directory to file directory.
2018-06-25 10:28:59 +02:00
w0rp
620951b6d3
Close #1453 #1172 - Add ale_linters_ignore for ignoring linter results
2018-06-24 21:16:45 +01:00
w0rp
0f377251dd
#1674 - Alias verilog_systemverilog to verilog by default
2018-06-23 18:20:39 +01:00
w0rp
69eb2fe86a
Close #1417 - Support wildcard filetypes for fixers
2018-06-21 01:21:11 +01:00
w0rp
34755eecdd
#1398 document the detail key
2018-06-20 23:10:01 +01:00
w0rp
11f303f853
Merge pull request #1618 from colbydehart/master
...
[new linter] Add mix linter for elixir
2018-06-20 22:47:56 +01:00
yasuhiroki
ae25d71fa8
Add linter for AWS CloudFormation template file
2018-06-12 15:11:53 +09:00
Ben Falconer
20db9ab719
Add the cquery LSP #1475 #1594
2018-06-06 17:58:47 +01:00
Ben Falconer
1a4b08539b
Allow initialization options to be passed to language servers
2018-06-06 17:53:36 +01:00
Eddie Lebow
ca88e67af0
Allow all Python linter executables to be set to pipenv
.
...
It appends ` run {linter_name}`, analogously to the Ruby linters when
the executable is set to `bundle`
2018-06-05 00:33:26 -04:00
Jeffrey Lau
77d0ac58ed
Add 'scalafmt' fixer for Scala files
...
closes https://github.com/w0rp/ale/issues/1299
2018-06-03 04:40:52 +08:00
w0rp
970b62756e
Fix #1610 - Encourage the use of ftplugin files more
2018-05-30 21:10:37 +01:00
w0rp
db64571b4c
Fix #1523 - Document completion_filter
2018-05-30 20:44:09 +01:00
w0rp
c8b77fd4b8
Fix a typo in the LSP linter documentation
2018-05-30 20:23:57 +01:00
w0rp
f95bc00bd6
Clean up grammar for hover documentation a little
2018-05-30 19:44:01 +01:00
w0rp
106d439f56
Merge pull request #1589 from gagbo/balloon_doc
...
Documentation : document the mouseover magic
2018-05-30 19:31:41 +01:00
Magnus Ottenklinger
801c12a881
Add mix linter for elixir
2018-05-30 10:38:14 -04:00
w0rp
f2837b5802
#1524 - Define global variables where they are needed
2018-05-28 19:19:20 +01:00
w0rp
e49e7d52bc
#1524 Remove the plugin conflict warnings
2018-05-28 16:47:32 +01:00
w0rp
6fce8ddc5a
#1600 Alias vimwiki to markdown
2018-05-26 11:41:52 +01:00
w0rp
d8d13ef264
Do not echo messages to the echo line for mouse movements unless the user says so
2018-05-17 16:23:29 +01:00
Gerry Agbobada
e5ad9076b3
Documentation : document the mouseover magic
...
This first try is focused on fitting the information in existing
paragraphs
2018-05-17 10:57:04 +02:00
rhysd
57f0454a55
Improve g:ale_set_balloons default value
2018-05-11 17:46:40 +09:00
Øyvind Ingvaldsen
27144eee8c
Added NASM linter
...
Added NASM linter (for nasm filetype).
2018-05-04 21:44:32 +02:00
w0rp
e2c33f2f6c
Add g:ale_completion_excluded_words for completion filtering
2018-05-03 11:17:41 +01:00
w0rp
3331f6c8f4
Merge pull request #1543 from vancluever/f-add-JobStartedAutoCmd
...
Add ALEJobStarted User autocommand event
2018-04-29 20:16:59 +01:00
Chris Marchesi
b81bc8d481
A couple of more doc fixes
...
* Update section 5.viii in the README with ALEJobStarted and re-format
the example.
* Add an extra line after documentation update to ensure consistency
with the rest of the doc.
2018-04-28 15:10:59 -07:00
Chris Marchesi
129eb96561
Fix tests by setting proper link tag in doc for ALEJobStarted
2018-04-27 22:32:21 -07:00
Chris Marchesi
b7996803c9
Add ALEJobStarted User autocommand event
...
The ALELintPre and ALELintPost autocommand events are currently being
used by lightline-ale to refresh the status line and check the linter
status for a current buffer. One of the plugin's checks looks to see if
linters are currently running, via ale#engine#IsCheckingBuffer(). This
currently only works partially in certain situations. In my particular
case, working with Go files, this only seems to function properly when a
file is initially opened. Saving a file does not correctly update the
status.
This seems to be due to the fact that ALELintPre actually runs before
any jobs are carried out, making it plausible that hooking into
ALELintPre for the purpose of checking to see if there are any currently
running linters for a buffer is unreliable as it would be prone to
pretty obvious race conditions.
This adds a new User autocommand, ALEJobStarted, that gets fired at the
start of every new job that is successfully run. This allows a better
point to hook into checking the linter status of a buffer using
ale#engine#IsCheckingBuffer() by ensuring that at least one job has
started by the time IsCheckingBuffer is run.
2018-04-27 15:40:02 -07:00
w0rp
6ab3fdc4d0
Close #1521 - Allow the language to be set with simple strings for LSP linters
2018-04-27 22:52:11 +01:00
w0rp
e6fe2d86b8
Add an American English tag for behaviour too
2018-04-24 21:56:34 +01:00
w0rp
41c0b837ae
#1278 Allow linters to be defined pretty much anywhere
2018-04-24 21:48:33 +01:00
w0rp
ebbf7d0353
#1428 Show multiline hover messages, and document the new command
2018-04-24 21:03:06 +01:00
w0rp
93a046a78f
#1236 Explain how to use Vim jumps
2018-04-23 21:18:58 +01:00
w0rp
0b3ee11546
Fix a typo
2018-04-22 20:32:39 +01:00
w0rp
286abd12d3
Add support for finding references using LSP servers or tsserver
2018-04-22 19:49:30 +01:00
Kenta, Kobayashi
498be478be
add perltidy fixer
2018-04-21 22:09:38 +09:00
w0rp
20241c87ef
Merge pull request #1511 from elebow/add-cucumber-checker
...
Add `cucumber` checker for Cucumber files
2018-04-21 09:23:07 +01:00
Eddie Lebow
1e6651e0a0
Add cucumber checker for cucumber files
...
For now, it only detects undefined steps. The nearest `features` dir
above the buffer file is loaded, so step definitions should be found
correctly.
Tested only with Cucumber for Ruby, but it should work for any cucumber
that follows a substantially similar directory structure.
2018-04-20 22:54:29 -04:00
fenuks
6f6d35c0bd
Add information that ALEFix can now accept arguments
2018-04-18 02:28:17 +02:00
w0rp
697fd4ac75
Merge pull request #1488 from languitar/pmd
...
Add support for the java PMD linter
2018-04-09 19:22:14 +01:00
w0rp
719b790574
Close #542 - Add an option for disabling running locally installed executables by default
2018-04-09 19:11:20 +01:00
Johannes Wienke
49c4bfde14
Add support for the java PMD linter
2018-04-09 17:48:00 +02:00
w0rp
7cf3ddf6c4
Close #1439 - Add an :ALEInfoToFile command
2018-04-08 19:04:07 +01:00
w0rp
91d7e81ebc
Fix #605 - Support vcol: 1
for multi-byte character positions
2018-04-08 17:17:46 +01:00
Jack Evans
c5d3af04fc
Added support for Python black fixer ( #1451 )
2018-04-06 11:08:25 +02:00
P M
85a2a00826
Integration of qmlfmt linting tool ( #1462 )
...
* Add first qmlfmt support
* Add GetCommand() function
- pass --error/-e option
* Add handle unittest
- fix pattern regex
- store col as integer
* Update docs
* Add command callback unit test
2018-04-05 21:09:41 +02:00
Nils Leuzinger
912f632bf5
Add fsc linter for Scala ( #1452 )
...
* Add fsc as a Scala linter
* Pull reused code into `autoload/ale/` directory
* Include fsc into the README
* Add unit test for testing the scala handler
* Add unit test for scala's fsc linter
* Rename scala unit tests for clarity
* Fix typo in README
* Fix typos in doc/ale.txt
* Fix author headline
* Put methods for fsc commands back into fsc.vim
* Move command_callback tests to correct location
* Rewrite handler test so it actually tests handler
* Clarify description of test in test_scala_handler
2018-04-05 21:04:11 +02:00
w0rp
8baab691e9
Merge pull request #1429 from stewy33/master
...
Add support for Mercury language using mmc as a linter.
2018-04-05 12:34:45 +01:00
w0rp
45c5fe7f43
Fix a typo in the documentation
2018-03-26 09:19:58 +01:00
Stewy Slocum
8d4852a127
add documentation on mmc linter
2018-03-25 13:43:51 -04:00
w0rp
164c711b3d
Fix #1404 - Do not show balloons when g:ale_set_balloons is 0. Add b:ale_set_balloons
2018-03-25 12:57:08 +01:00
P M
107516c757
Add basic qmllint support ( #1419 )
...
* Add basic qmllint support
* Use temp file, remove superfluous error code key, adjust author info
* Add qmllint handler parse test
2018-03-25 11:55:59 +01:00
yasuhiroki
562862073f
Update document for textlint
2018-03-24 16:04:47 +09:00
Leonardo Pistone
f0325d7322
doc: fix misspelled feature name
2018-03-21 17:02:43 +01:00
w0rp
64c95d4881
Merge remote-tracking branch 'tylucaskelley/master'
2018-03-20 20:27:50 +00:00
w0rp
434f22e44a
Merge pull request #1415 from fohte/fixer-rufo
...
Add rufo fixer for Ruby files
2018-03-18 17:42:07 +00:00
w0rp
92612a9eab
Merge pull request #1410 from fribmendes/frm/mix_format_options
...
Allow passing options to mix_format
2018-03-18 17:36:33 +00:00
Hideaki Tokida
1b1e53ef61
add textlint support for markdown ( #1383 )
2018-03-18 17:28:26 +00:00
w0rp
c112ee9dff
Fix #1392 - Only check files on disk for gotype
2018-03-18 17:16:13 +00:00
Martin Tournoij
302f69e933
Add ALEFixPre and ALEFixPost events
...
To run autocmd before and after every fix cycle.
Fixes #623 (`ALELintPre` was added in #1203 ).
2018-03-17 18:24:38 +00:00
Hayato Kawai
7e1a9a9810
Add rufo fixer for ruby files
2018-03-11 13:33:57 +09:00
Fernando Mendes
6320ce6674
Allow passing options to mix_format
2018-03-08 15:29:10 +00:00
w0rp
0a0535546f
Add a command for stopping all LSP clients
2018-03-06 10:23:55 +00:00
Ty-Lucas Kelley
2a575ca551
add basic support for markdownlint
2018-03-03 19:16:41 -05:00
w0rp
08cfd5f90c
Close #1379 - Increment b:ale_linted when a buffer is checked
2018-03-03 16:22:56 +00:00
w0rp
857723e7d5
Merge pull request #1377 from joshleeb/markdown-mdl-options
...
Add options for markdown_mdl linter
2018-03-03 13:16:27 +00:00
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