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

the syntastic plugin is unhappy with a default mix.exs #117

Closed
killerswan opened this issue Jul 18, 2015 · 5 comments
Closed

the syntastic plugin is unhappy with a default mix.exs #117

killerswan opened this issue Jul 18, 2015 · 5 comments

Comments

@killerswan
Copy link

These errors (on opening the file, or saving) seem unfortunate:

Error detected while processing function <SNR>55_BufWritePostHook..<SNR>55_UpdateErrors..<SNR>55_Cache
Errors..240..239:
line    5:
E691: Can only compare List with List
E15: Invalid expression: status < 0
Error detected while processing function <SNR>55_BufWritePostHook..<SNR>55_UpdateErrors..<SNR>55_Cache
Errors..240..262:
line    3:
E712: Argument of filter() must be a List or Dictionary

That's on OS X with syntastic 3.6.0-130 (master, here) and Mix 1.0.5, after typing:

mix new portal --sup
gvim portal/mix.exs

After, also, enabling the syntax checker with these in my .vimrc:

let g:syntastic_elixir_checkers = ['elixir']
let g:syntastic_enable_elixir_checker = ['elixir'] 
@kassio
Copy link
Member

kassio commented Jul 18, 2015

Those functions are from syntastic. You should open this issue there. 😄

@kassio kassio closed this as completed Jul 18, 2015
@killerswan
Copy link
Author

What's the version of Syntastic where this Elixir checker works for you, @kassio? I'll install that if you know it. :)

@kassio
Copy link
Member

kassio commented Jul 19, 2015

Actually I'm not using syntastic. 😊 But the function mentioned on the error 55_BufWritePostHook, it's from syntastic.

@killerswan
Copy link
Author

I've poked around under the hood enough now. If syntastic had this patch, I'd not have complained:
vim-syntastic/syntastic@master...killerswan:checker_enable_typecheck

And would have realized I needed this, instead:

let g:syntastic_elixir_checkers = ['elixir']
let g:syntastic_enable_elixir_checker = 1

:D

@kassio
Copy link
Member

kassio commented Jul 20, 2015

@killerswan nice! Now you just need to open a pull request there. 😄

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

No branches or pull requests

2 participants