Saturday, May 23, 2015

Re: configuring sytanstic - mainly ruby(rails), javascript, eruby

2015-05-23 22:18 GMT+03:00 Ethan Hereth <advocateddrummer@gmail.com>:
>
> On Sat, May 23, 2015 at 2:54 PM, Robert Balejík <r.balejik@gmail.com> wrote:
>>
>> what did you mean by : " Your test file has filetype "]". "?
>>
>> 2015-05-23 20:26 GMT+02:00 LCD 47 <lcd047@gmail.com>:
>>>
>>> On 23 May 2015, Robert Balejík <r.balejik@gmail.com> wrote:
>>> > I mean how can I resolve it our found aout what of thoee checkers
>>> > variables are enabled in my $PATH ?
>>>
>>> Fix your filetype. Syntastic depends on filetypes being set
>>> correctly. Your test file has filetype "]". No idea how you managed to
>>> do that, but this is not going to work.
>>>
>>> /lcd
>>>
> Robert,
>
> Please don't top post.
>
> It appears that, somehow, vim thinks the filetype of the file you are
> editing is ']'
>
> This seems very strange; what kind of file are you editing? If you type :set
> filetype? in Vim's commandline, it should tell you what it thinks the
> filetype is. Presumably it is ']' and I have no idea what that means or why
> it would think that.

It is very easy to have this filetype: just have
`\%(\s\|^\)vim:\s*ft=]` somewhere near the start or the end of the
file. It is interesting that `set ft=[` produces E474.

It is better to type `:verbose set filetype?` to know where it was set.

>
> To learn more about this read :help filetype.
>
> I use Syntastic some too, and, if the filetype is correct it pretty much
> should just work. Assuming that the appropriate linters/checkers are indeed
> in your path.
>
> Good luck,
>
> Ethan Alan
>
>>> --
>>> --
>>> You received this message from the "vim_use" maillist.
>>> Do not top-post! Type your reply below the text you are replying to.
>>> For more information, visit http://www.vim.org/maillist.php
>>>
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "vim_use" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/vim_use/AcKUMAMhQK0/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> vim_use+unsubscribe@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> --
>> You received this message from the "vim_use" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit http://www.vim.org/maillist.php
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "vim_use" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to vim_use+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: