Closed fizzy123 closed 2 years ago
Syntastic doesn't seem to be able to identify the language on a javascript file.
That's Vim's job, not syntastic's. It's up to you to make sure all files have the proper filetype
set before being checked by syntastic. One way to do it if Vim's autodetection fails is to put something like vim: filetype=javascript
in a comment, near the top or bottom of the relevant files (cf. :h modeline
).
That helped my issue. Seems like some versions of OSX don't have filetype enabled by default? I added the following to my vimrc:
filetype plugin indent on
And that fixed it. Thanks!
Hi! I've been using Syntastic for many years now and have enjoyed it. On this newest computer, I am encountering a strange new error. Syntastic doesn't seem to be able to identify the language on a javascript file.
When i open a javascript file and type
:SyntasticInfo
, I get the following:When I check
:SyntasticInfo javascript
, I get the following:which implies to me that syntastic is successfully finding checkers for javascript.
Here is the output of
:ver
:And here are more detailed logs:
Any ideas on what else i could try? Thanks!