{"action":"created","issue":{"url":"https://api.github.com/repos/skwp/dotfiles/issues/597","labels_url":"https://api.github.com/repos/skwp/dotfiles/issues/597/labels{/name}","comments_url":"https://api.github.com/repos/skwp/dotfiles/issues/597/comments","events_url":"https://api.github.com/repos/skwp/dotfiles/issues/597/events","html_url":"https://github.com/skwp/dotfiles/issues/597","id":54958251,"number":597,"title":"MacVim & Solarized background=light gives strange results.","user":{"login":"chestone","id":26659,"avatar_url":"https://avatars.githubusercontent.com/u/26659?v=3","gravatar_id":"","url":"https://api.github.com/users/chestone","html_url":"https://github.com/chestone","followers_url":"https://api.github.com/users/chestone/followers","following_url":"https://api.github.com/users/chestone/following{/other_user}","gists_url":"https://api.github.com/users/chestone/gists{/gist_id}","starred_url":"https://api.github.com/users/chestone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chestone/subscriptions","organizations_url":"https://api.github.com/users/chestone/orgs","repos_url":"https://api.github.com/users/chestone/repos","events_url":"https://api.github.com/users/chestone/events{/privacy}","received_events_url":"https://api.github.com/users/chestone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-20T23:54:44Z","updated_at":"2015-02-03T10:05:14Z","closed_at":"2015-02-02T23:05:09Z","body":"After installing yadr I tried to switch to the light version of Solarized in MacVim and found some funky results shown below.\r\n\r\nThe end of my .vim/settings/yadr-appearance.vim is below.\r\n\r\n```\r\n  1 \" Make it beautiful - colors and fonts\r\n  2\r\n  3 if has(\"gui_running\")\r\n  4   if has(\"gui_macvim\")\r\n  5     set background=light\r\n  6     colorscheme solarized\r\n  7   endif\r\n  8\r\n  9   \"tell the term has 256 colors\r\n 10   set t_Co=256\r\n 11\r\n 12   \" Show tab number (useful for Cmd-1, Cmd-2.. mapping)\r\n 13   \" For some reason this doesn't work as a regular set command,\r\n 14   \" (the numbers don't show up) so I made it a VimEnter event\r\n 15   autocmd VimEnter * set guitablabel=%N:\\ %t\\ %M\r\n 16\r\n 17   set lines=60\r\n 18   set columns=190\r\n 19\r\n 20   if has(\"gui_gtk2\")\r\n 21     set guifont=Inconsolata\\ XL\\ 12,Inconsolata\\ 15,Monaco\\ 12\r\n 22   else\r\n 23     set guifont=Inconsolata\\ XL:h17,Inconsolata:h20,Monaco:h17\r\n 24   end\r\n 25 else\r\n 26   let g:CSApprox_loaded = 1\r\n 27\r\n 28   \" For people using a terminal that is not Solarized\r\n 29   if exists(\"g:yadr_using_unsolarized_terminal\")\r\n 30     let g:solarized_termcolors=256\r\n 31     let g:solarized_termtrans=1\r\n 32   end\r\n 33 endif\r\n 34\r\n 35 set background=light\r\n 36 colorscheme solarized\r\n```\r\n\r\nI have also tried adding the background & colorscheme to my .gvimrc, but to no success. Any help would be appreciated.\r\n\r\n![vim_broken_solarized](https://cloud.githubusercontent.com/assets/26659/5828669/dc18e038-a0bb-11e4-9080-85d9c7e2153f.jpg)"},"comment":{"url":"https://api.github.com/repos/skwp/dotfiles/issues/comments/72624161","html_url":"https://github.com/skwp/dotfiles/issues/597#issuecomment-72624161","issue_url":"https://api.github.com/repos/skwp/dotfiles/issues/597","id":72624161,"user":{"login":"romeroabelleira","id":108562,"avatar_url":"https://avatars.githubusercontent.com/u/108562?v=3","gravatar_id":"","url":"https://api.github.com/users/romeroabelleira","html_url":"https://github.com/romeroabelleira","followers_url":"https://api.github.com/users/romeroabelleira/followers","following_url":"https://api.github.com/users/romeroabelleira/following{/other_user}","gists_url":"https://api.github.com/users/romeroabelleira/gists{/gist_id}","starred_url":"https://api.github.com/users/romeroabelleira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romeroabelleira/subscriptions","organizations_url":"https://api.github.com/users/romeroabelleira/orgs","repos_url":"https://api.github.com/users/romeroabelleira/repos","events_url":"https://api.github.com/users/romeroabelleira/events{/privacy}","received_events_url":"https://api.github.com/users/romeroabelleira/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T10:05:14Z","updated_at":"2015-02-03T10:05:14Z","body":"@brandonaaron as @skwp noted, this worked perfectly:\r\n\r\n~/.vimrc.before\r\n\r\n    let g:yadr_disable_solarized_enhancements = 1\r\n\r\n~/.vimrc.after\r\n\r\n    if !has(\"gui_running\")\r\n      let g:solarized_termtrans=1\r\n    endif\r\n    set background=light\r\n    colorscheme solarized"}}