{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/4946","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/4946/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/4946/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/4946/events","html_url":"https://github.com/neovim/neovim/issues/4946","id":161675211,"number":4946,"title":"ctermfg and guifg are not respected in nvim 0.1.5","user":{"login":"ninrod","id":8352747,"avatar_url":"https://avatars.githubusercontent.com/u/8352747?v=3","gravatar_id":"","url":"https://api.github.com/users/ninrod","html_url":"https://github.com/ninrod","followers_url":"https://api.github.com/users/ninrod/followers","following_url":"https://api.github.com/users/ninrod/following{/other_user}","gists_url":"https://api.github.com/users/ninrod/gists{/gist_id}","starred_url":"https://api.github.com/users/ninrod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninrod/subscriptions","organizations_url":"https://api.github.com/users/ninrod/orgs","repos_url":"https://api.github.com/users/ninrod/repos","events_url":"https://api.github.com/users/ninrod/events{/privacy}","received_events_url":"https://api.github.com/users/ninrod/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"f9d0c4"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/10","html_url":"https://github.com/neovim/neovim/milestones/0.2","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/10/labels","id":1183808,"number":10,"title":"0.2","description":"beta release, codename: \"keanu\"","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":143,"closed_issues":118,"state":"open","created_at":"2015-06-27T19:05:24Z","updated_at":"2016-06-24T04:03:35Z","due_on":"2016-09-30T04:00:00Z","closed_at":null},"comments":15,"created_at":"2016-06-22T12:58:54Z","updated_at":"2016-06-25T13:09:39Z","closed_at":null,"body":"- `nvim --version`:NVIM v0.1.5-966-ga2ecbc2\r\n- Vim (version: ) behaves differently? yes\r\n- Operating system/version: MacOSx yosemite\r\n- Terminal name/version: iTerm2 3.0.2\r\n- `$TERM`: xterm-256color\r\n\r\n### Actual behaviour\r\nguifg is not respected\r\n### Expected behaviour\r\nguifg is respected\r\n### Steps to reproduce using `nvim -u NORC`\r\n\r\nI don't have the knowledge to reproduce using nvim -u NORC, but I know for a fact that this block of code:\r\n\r\n```viml\r\nhighlight ExtraWhitespace ctermfg=166 guifg=#d65d0e \r\nmatch ExtraWhitespace /\\s\\+$/\r\nautocmd BufWinEnter * match ExtraWhitespace /\\s\\+$/\r\nautocmd InsertEnter * match ExtraWhitespace /\\s\\+\\%#\\@<!$/\r\nautocmd InsertLeave * match ExtraWhitespace /\\s\\+$/\r\nautocmd BufWinLeave * call clearmatches()\r\n```\r\n\r\nworks in neovim 0.1.4 and does not work in neovim 0.1.5 (HEAD commit in this moment), both with truecolor support activated. And yes, I've correctly used the `set termguicolors` in nvim 0.1.5. for nvim 0.1.4 I used `  let $NVIM_TUI_ENABLE_TRUE_COLOR=1`.\r\n\r\nI also verified this: while `guifg` is ignored, `guibg` is correctly handled in nvim 0.1.5 with truecolor support enabled.\r\n"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/228539901","html_url":"https://github.com/neovim/neovim/issues/4946#issuecomment-228539901","issue_url":"https://api.github.com/repos/neovim/neovim/issues/4946","id":228539901,"user":{"login":"ninrod","id":8352747,"avatar_url":"https://avatars.githubusercontent.com/u/8352747?v=3","gravatar_id":"","url":"https://api.github.com/users/ninrod","html_url":"https://github.com/ninrod","followers_url":"https://api.github.com/users/ninrod/followers","following_url":"https://api.github.com/users/ninrod/following{/other_user}","gists_url":"https://api.github.com/users/ninrod/gists{/gist_id}","starred_url":"https://api.github.com/users/ninrod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninrod/subscriptions","organizations_url":"https://api.github.com/users/ninrod/orgs","repos_url":"https://api.github.com/users/ninrod/repos","events_url":"https://api.github.com/users/ninrod/events{/privacy}","received_events_url":"https://api.github.com/users/ninrod/received_events","type":"User","site_admin":false},"created_at":"2016-06-25T13:09:39Z","updated_at":"2016-06-25T13:09:39Z","body":"So I've checked out master (commit 47a15d0) and issued:\r\n    `$ git revert -m 1 66adc2d`\r\n\r\nThis fixes the bug as shown here:\r\n\r\n<img width=\"1280\" alt=\"bugfix\" src=\"https://cloud.githubusercontent.com/assets/8352747/16356870/c96863fe-3abc-11e6-8f54-8988dbd52a73.png\">\r\n\r\n\r\n"}}
{"actor":{"display_login":"ninrod"}}