-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add linter for Idris #838
Add linter for Idris #838
Conversation
doc/ale-idris.txt
Outdated
ALE Idris Integration *ale-idris-options* | ||
|
||
=============================================================================== | ||
idris *ale-idris-stack-build* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The help tag is wrong here. It should be ale-idris-idris
, as in the table of contents.
doc/ale-idris.txt
Outdated
@@ -0,0 +1,10 @@ | |||
=============================================================================== | |||
ALE Idris Integration *ale-idris-options* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align the help tags to the right margin. If you use :ALEFixSuggest
, it will suggest a function for fixing this.
ale_linters/idris/idris.vim
Outdated
call ale#linter#Define('idris', { | ||
\ 'name': 'idris', | ||
\ 'executable': 'idris', | ||
\ 'command': 'idris --total --warnpartial --warnreach --warnipkg --check %t', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should make the non-essential options configurable, and add Vader tests with a callback.
Thank you for the feedback @w0rp. I believe I've addressed your concerns, please take another look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that'll do it. 👍
Cheers! 🍻 |
* upstream/master: dense-analysis#653 - Fix loclist jumping so it works with buffer numbers Fix a failing test dense-analysis#653 - Include the buffer number in sorting of items dense-analysis#653 - Update the loclist binary search to work with buffer numbers, to filter out items for other buffers dense-analysis#468 - Do not try to echo things for a while if something goes wrong Use a shorter default completion delay, which works better Add a fix function for breaking up long Python lines, which is hidden for now Ban !=# and !=? from the codebase dense-analysis#653 - Pass on filenames for loclist items Add linter for Idris (dense-analysis#838) Pass extra rubocop options in the middle instead, and fix the Vader test so it can be run multiple times in Vim Rubocop fixer now uses g:ale_ruby_rubocop_options (dense-analysis#841) Automatically check for invalid help tag references, and fix some existing documentation issues Fix documentation for the PHP langserver options Fix some broken tag links Move --format=default in the flake8 command to the return value, and remove extra spaces in the tests Add support for SwiftFormat as a fixer Fix link for SwiftLint Default flake8 to --format=default
No description provided.