0

I have syntastic plugin running correctly in vim. I just want to customize it a little more, I am trying to set the properties 'syntastic_warning_symbol' and 'syntastic_error_symbol' to differentiate them.

In my .vimrc I have:

let g:syntastic_warning_symbol = 'WW'
let g:syntastic_error_symbol = 'EE'

But when I open vim, I see 'EE' even in the Warning lines.

Am I doing anything wrong? It could be a bug, if so I will report to the developers.

Thanks in advance.

CharlesB
  • 86,532
  • 28
  • 194
  • 218
jjimenez
  • 853
  • 1
  • 7
  • 18
  • 1
    it works fine on my computer, can you post an example? – none Oct 24 '12 at 17:42
  • Hi gokcehan, I am using it with Python and flake8, maybe that influences. What language are you trying? – jjimenez Oct 25 '12 at 09:48
  • I was trying with `C`, does that work for you? – none Oct 25 '12 at 10:34
  • Nop, I am having the same behavior with C. – jjimenez Oct 25 '12 at 10:51
  • by default errors and warnings have different colors. what happens when you don't set anything? – none Oct 25 '12 at 11:12
  • I didn't know that the errors and warnings were shown in different colors. If I don't set anything, I see the symbol ">>" in the same color for errors and warnings. Is that what made me try to change the characters. By the way, I am using Vim 7.3 and the last syntastic git version. – jjimenez Oct 25 '12 at 13:25
  • you can check the screenshot in [github page](https://github.com/scrooloose/syntastic), there are red and yellow colors for errors and warnings respectively. I see you already opened a new issue there. you can also post your example C code in here so I can try it out as well.. – none Oct 25 '12 at 13:33
  • Thanks for your interest gokcehan, many years ago I do not program in C (in the university I think), but [here](http://gallifrey.es/vim_screenshot.png) you can see a screenshot for an example code. As you can see in the status line, the word "aviso" is telling me that is a warning ("aviso" means warning in spanish), but is showing the same chars and colors to mark it. Tell me if am I wrong with the example code. – jjimenez Oct 25 '12 at 15:10
  • I tried your code and I can confirm that there is something wrong with your plugin. let's see what they say in github. – none Oct 25 '12 at 16:57
  • I have been talking with the developer and I have made a pull request. Thanks gokcehan. – jjimenez Oct 26 '12 at 12:06
  • glad to hear you made it. you can put an answer here and accept it to close the question.. – none Oct 26 '12 at 12:11

1 Answers1

1

It seems to be a syntastic issue. I have been talking with the developer, and I have made a pull request in github. Here are the issue and the pull request

jjimenez
  • 853
  • 1
  • 7
  • 18