Commit Graph

680 Commits

Author SHA1 Message Date
w0rp
3083d05afd #39 Use getbufline() for MacVim GUI too. 2016-10-10 12:54:39 +01:00
KabbAmine
e4b3f579fa Echo string format (#76)
* Implement an option to configure the echoed message, #48

Via `g:ale_echo_msg_format` where:
- `%s` is the error message itself
- `%linter%` is the linter name
- `%severity` is the severity type

e.g
let g:ale_echo_msg_fomat = '[%linter%] [%severity%] %s'

* Add new options for defining the string used for errors in echoed
message

`g:ale_echo_msg_error_str` and `g:ale_echo_msg_warning_str`

* Change text output of some linters

Now that the echoed message can be customized, no need to add the type
to the text variable.

* Update README & documentation file

* Fix some typos
* Sort the table of options alphabetically (except echo_msg_x_str options)

* Added echo warning str option to the doc
2016-10-10 12:53:54 +01:00
w0rp
f60df660f8 #48 Store the linter name in the loclist objects for later use. 2016-10-09 21:44:50 +01:00
w0rp
8d390384f1 Correct issues with some errors appearing at line 0, not 1. 2016-10-09 21:40:33 +01:00
w0rp
9902eadd33 Up-indent types and defaults, and align markers 2016-10-09 21:23:34 +01:00
w0rp
e0036b2f4c Make spacing and indentation consistent in the documentation, and make the docs easier to read. 2016-10-09 21:20:21 +01:00
Marc Delage
bc937639d0 Merge #66 with some amendments. 2016-10-09 21:14:22 +01:00
w0rp
a1ecf9ecea Merge branch 'shell-detection' 2016-10-09 21:04:43 +01:00
w0rp
dea8af1e57 Merge pull request #73 from KabbAmine/fix-69
Modify shell's pattern to handle locals other than english, fixes #69
2016-10-09 20:59:25 +01:00
Kabbaj Amine
b2714da78b Modify shell's pattern to handle locals other than english, fixes #69 2016-10-09 22:57:11 +03:00
w0rp
07599d006c Document the default shell option 2016-10-09 20:45:51 +01:00
w0rp
b5e4538699 #69 Change the default shell for shell linting 2016-10-09 20:39:14 +01:00
w0rp
2d32c31205 Handle arguments to shells in shebang lines too. 2016-10-09 19:41:27 +01:00
w0rp
9d52d968db #69 Improve shell detection 2016-10-09 19:32:01 +01:00
w0rp
731033588d Merge pull request #72 from SkySymbol/perl-support
Add support for perl and perlcritic
2016-10-09 16:38:17 +01:00
Vincent Lequertier
d1cf208683 Add support for perl and perlcritic 2016-10-09 17:33:03 +02:00
w0rp
34241edcdb Fix a bug where echoing in modes like visual select caused some errors. 2016-10-09 12:50:51 +01:00
w0rp
8433dbcea9 Remove some trailing whitespace. 2016-10-09 12:50:51 +01:00
w0rp
3044200c8a Merge pull request #70 from mshr-h/add-comment-header
Add comment headers to verilog linters
2016-10-09 08:52:59 +01:00
mshr-h
85195b56df Add comment headers to verilog linters 2016-10-09 11:32:31 +09:00
w0rp
16496674c6 Wrap the badge into the title 2016-10-09 00:04:24 +01:00
w0rp
008066778e Add a Travis CI image to the README 2016-10-09 00:03:19 +01:00
w0rp
1ea0eda36c Correct all Vint warnings 2016-10-08 23:55:58 +01:00
w0rp
16a150b277 Make Travis cache pip 2016-10-08 23:53:08 +01:00
w0rp
2c63e0526b Add a Travis config for running vint. 2016-10-08 23:50:13 +01:00
w0rp
f17a660888 Send the buffers to the linters using getbufline() on Windows, re issue #39 2016-10-08 21:52:41 +01:00
w0rp
20a28b7856 Handle there being no process for a job better in Vim 8, re issue #39. 2016-10-08 21:04:42 +01:00
w0rp
57b157bbae Use shortmess for shortening long echo lines instead. 2016-10-08 18:04:34 +01:00
w0rp
af8df256c0 Don't store jobs themselves in maps in Vim 8, as per issue #39. 2016-10-08 17:27:59 +01:00
w0rp
1044c8af0a Merge pull request #68 from KabbAmine/linter-coffee
Add coffee linter
2016-10-08 16:56:03 +01:00
w0rp
ecde32d9ec Merge pull request #67 from KabbAmine/linter-htmlhint
Add linter HTMLHint for html files
2016-10-08 16:55:14 +01:00
w0rp
cb68741717 Merge pull request #65 from mshr-h/support-verilator
Support verilator for verilog
2016-10-08 16:54:06 +01:00
Kabbaj Amine
5eb7106359 Add coffee linter 2016-10-08 18:52:23 +03:00
w0rp
85d8d2f217 Use cmd /c for Windows commands to fix a bug with running linters on Windows. 2016-10-08 16:01:23 +01:00
Kabbaj Amine
49da6d409d Add linter HTMLHint for html files 2016-10-08 18:01:03 +03:00
mshr-h
e59264023a Add verilator for verilog 2016-10-08 21:39:54 +09:00
Marc Delage
edc5cedd8c Add cpp linter (#64)
* Add c gcc option in the doc

* Add missing tag for eslint option in the doc

* Correct typo in doc (' ' instead of '.')

* add cpp linter

* correct typo in doc

* add filetype information for c++
2016-10-08 12:42:36 +01:00
Masahiro H
bd6da4489d Add iverilog for verilog (#63)
* Add iverilog for verilog

* Remove extra spacing/blank line

* Set column to 1
2016-10-08 12:29:45 +01:00
w0rp
197137aea0 Add support for Pug with pug-lint. 2016-10-07 22:16:29 +01:00
w0rp
4489514e4b Add a wrapper program for running linters which cannot receive stdin input on Windows. 2016-10-07 21:33:16 +01:00
w0rp
2f86a92ecb Merge pull request #62 from KabbAmine/linter-tidy-refactor
Refactor tidy support
2016-10-07 20:20:27 +01:00
Kabbaj Amine
4e26c76f73 Refactor tidy support
* Add an option for file encoding
* Remove the type from text
* Fix linter's name
2016-10-07 22:14:09 +03:00
w0rp
e5d9736d7a Denote that Cython needs to use the wrapper script. 2016-10-07 18:36:59 +01:00
w0rp
ee80a0d147 Fix some typos and remove some trailing whitespace. 2016-10-07 18:34:23 +01:00
w0rp
da1dcc6bb5 Add support for checking Cython files 2016-10-07 18:33:19 +01:00
w0rp
f6e95586dd Merge pull request #58 from KabbAmine/statusline
Add an initial getStatuslineStr function with customizable output
2016-10-07 18:29:36 +01:00
Kabbaj Amine
c3ae8305b7 Update the documentation files
... and move all pictures to img/ directory
2016-10-07 19:48:47 +03:00
Kabbaj Amine
f128f7810d Add an initial ALEGetStatusLine function with customizable output, #25 2016-10-07 19:13:01 +03:00
w0rp
d97e25a260 Support reading from both output streams, and fix PHP error parsing, which sometimes logs to stderr, sometimes stdout. 2016-10-07 17:08:11 +01:00
w0rp
f0f17e4b0d Explain that options should be documented. 2016-10-07 16:44:25 +01:00