-
Notifications
You must be signed in to change notification settings - Fork 12
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
Colors not working. #1
Comments
same on OSX console vim |
Looks like vim is not picking up the syntax highlighting. Can you verify that the search results window has filetype=agsv? Run set ft? in the search window |
filetype=agsv <— that’s what I see. On Mon, Mar 16, 2015 at 2:51 PM, Gabriel Adomnicai <notifications@github.com
Eric Gradman TWO BIT CIRCUS Inventors | Developers | Performers |
can you also check conceallevel and concealcursor, they should be 3 and nvic respectively in the search window |
they are On Mon, Mar 16, 2015 at 6:01 PM, Gabriel Adomnicai <notifications@github.com
Eric Gradman TWO BIT CIRCUS Inventors | Developers | Performers |
One more thing to check is to make sure your vim is compiled with the conceal feature. When you run :version do you see +conceal ? |
In my case filetype was not set to any value, setting it manually fixed the problem. And the reason for that was that I did not restart my vim after doing "BundleInstall". It seems that my vundle failed at inserting ftdetect rules after installation. |
Yup, it has +conceal. I installed this plugin using pathogen, btw. On Tue, Mar 17, 2015 at 12:48 AM, Krzysztof A. Adamski <
Eric Gradman TWO BIT CIRCUS Inventors | Developers | Performers |
@egradman not sure why the syntax highlight is not picking up. Do you mind pasting a few lines from the search results window. |
here’s a screenshot. The colors of the brackets are due to rainbow-parens https://www.dropbox.com/s/3ay46jywg7unz6x/Screenshot%202015-03-17%2014.11.07.png?dl=0 On Tue, Mar 17, 2015 at 1:45 PM, Gabriel Adomnicai <notifications@github.com
Eric Gradman TWO BIT CIRCUS Inventors | Developers | Performers |
I just restarted vim with just your plugin and it works fine, so its On Tue, Mar 17, 2015 at 2:11 PM, Eric Gradman eric@gradman.com wrote:
Eric Gradman TWO BIT CIRCUS Inventors | Developers | Performers |
Okay, it's definitely a conflict with https://github.com/luochen1990/rainbow |
@egradman cool, that's good to know. I'll look at the rainbow plugin when I get home and see if there's anything I can do in vim-ags to eliminate the conflict. |
Actually, I think it's just a matter of configuring the g:rainbow_conf option to disable rainbow parens for filetypes of agsv. Something like |
so it would appear. this doesn’t seem to work however but I don’t think On Tue, Mar 17, 2015 at 3:50 PM, Gabriel Adomnicai <notifications@github.com
Eric Gradman TWO BIT CIRCUS Inventors | Developers | Performers |
I've tried the rainbow plugin and it seems to work properly. After I added this to my vimrc
the search results picked up the correct syntax. You may need to restart vim for the changes to take effect. |
I may have spoken too soon. I’m currently running vim with ONLY your What threw me off is that it seems to be dependent on my cwd when I run the Two fresh sessions of vim in two different directories (in two adjacent On Wed, Mar 18, 2015 at 11:13 AM, Gabriel Adomnicai <
Eric Gradman TWO BIT CIRCUS Inventors | Developers | Performers |
What do the results look for the one that renders incorrectly? |
👍 that mostly fixed it for me, thanks Gabriel. |
I'll close this as it seems to be a configuration issue. |
After searching, my result looks like this:
There are no colors and escape characters are seen so obviously something went wrong. Tested on both vim and gvim 7.4 on Linux.
The text was updated successfully, but these errors were encountered: