Skip to content
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

Merged
merged 3 commits into from
Aug 10, 2017
Merged

Add linter for Idris #838

merged 3 commits into from
Aug 10, 2017

Conversation

bonds
Copy link
Contributor

@bonds bonds commented Aug 9, 2017

No description provided.

ALE Idris Integration *ale-idris-options*

===============================================================================
idris *ale-idris-stack-build*
Copy link
Member

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.

@@ -0,0 +1,10 @@
===============================================================================
ALE Idris Integration *ale-idris-options*
Copy link
Member

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.

call ale#linter#Define('idris', {
\ 'name': 'idris',
\ 'executable': 'idris',
\ 'command': 'idris --total --warnpartial --warnreach --warnipkg --check %t',
Copy link
Member

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.

@bonds
Copy link
Contributor Author

bonds commented Aug 10, 2017

Thank you for the feedback @w0rp. I believe I've addressed your concerns, please take another look.

Copy link
Member

@w0rp w0rp left a 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. 👍

@w0rp w0rp merged commit 322910d into dense-analysis:master Aug 10, 2017
@w0rp
Copy link
Member

w0rp commented Aug 10, 2017

Cheers! 🍻

rsrchboy added a commit to rsrchboy/ale that referenced this pull request Aug 13, 2017
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants