I'm trying to eslint a file with the javascript.jsx filetype (from plugin https://github.com/mxw/vim-jsx/tree/master/ftdetect).
I have the following in init.vim file:
let g:neomake_verbose=3
autocmd! BufWritePost * Neomake
When saving my file the only output I get is the following:
Neomake: Nothing to make: no enabled makers
I'm not entirely sure why this happens as we can see that both JavaScript and JSX has default makers enabled.
I'm running NVIM 0.1.4.
Seems like a duplicate of #272
@alexlafroscia not exactly. I don't get any makers running, not even the JSX ones.
Oh, weird. Do you have a custom set of makers enabled, or just the default ones?
@alexlafroscia just the default ones, I've made no changes at all.
FYI: let g:neomake_jsx_enabled_makers = ['eslint'] fixed this for me.
https://github.com/neomake/neomake/issues/493#issuecomment-231127780
@adamyonk thanks for that! :+1: However, there is still a bug I presume. The jsx makers are a superset of the javascript makers and even further, jsx have eslint as a default marker. So it should run by default.
I'll look closer at that later / on the weekend.
JFI: you can use 12verb w to see what functions are called and what they return.
@KevinSjoberg
Did you get it working? See https://github.com/neomake/neomake/issues/572.
Most helpful comment
FYI:
let g:neomake_jsx_enabled_makers = ['eslint']fixed this for me.https://github.com/neomake/neomake/issues/493#issuecomment-231127780