{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-editors/emacs-elixir/issues/355","repository_url":"https://api.github.com/repos/elixir-editors/emacs-elixir","labels_url":"https://api.github.com/repos/elixir-editors/emacs-elixir/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/elixir-editors/emacs-elixir/issues/355/comments","events_url":"https://api.github.com/repos/elixir-editors/emacs-elixir/issues/355/events","html_url":"https://github.com/elixir-editors/emacs-elixir/issues/355","id":154065075,"number":355,"title":"Highlight @doc as comment","user":{"login":"pdilyard","id":1459456,"avatar_url":"https://avatars1.githubusercontent.com/u/1459456?v=4","gravatar_id":"","url":"https://api.github.com/users/pdilyard","html_url":"https://github.com/pdilyard","followers_url":"https://api.github.com/users/pdilyard/followers","following_url":"https://api.github.com/users/pdilyard/following{/other_user}","gists_url":"https://api.github.com/users/pdilyard/gists{/gist_id}","starred_url":"https://api.github.com/users/pdilyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdilyard/subscriptions","organizations_url":"https://api.github.com/users/pdilyard/orgs","repos_url":"https://api.github.com/users/pdilyard/repos","events_url":"https://api.github.com/users/pdilyard/events{/privacy}","received_events_url":"https://api.github.com/users/pdilyard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-05-10T17:40:58Z","updated_at":"2017-08-28T21:26:25Z","closed_at":"2017-08-28T21:26:25Z","body":"Things look a lot cleaner if you highlight the following blocks as if they were comments:\n\n``` elixir\n@moduledoc \"\"\"\nEverything in here should be gray, including the @moduledoc and triple-quotes\n\"\"\"\n```\n\n``` elixir\n@doc \"\"\"\nEverything in here should be gray, including the @doc and triple-quotes\n\"\"\"\n```\n\nMost other Elixir syntax highlighters handle things this way (including the Github one, as shown above). It tends to make things look a bit cleaner in larger modules.\n\nIf people agree, I could try to work on a PR for this.\n"},"comment":{"url":"https://api.github.com/repos/elixir-editors/emacs-elixir/issues/comments/325487107","html_url":"https://github.com/elixir-editors/emacs-elixir/issues/355#issuecomment-325487107","issue_url":"https://api.github.com/repos/elixir-editors/emacs-elixir/issues/355","id":325487107,"user":{"login":"pdilyard","id":1459456,"avatar_url":"https://avatars1.githubusercontent.com/u/1459456?v=4","gravatar_id":"","url":"https://api.github.com/users/pdilyard","html_url":"https://github.com/pdilyard","followers_url":"https://api.github.com/users/pdilyard/followers","following_url":"https://api.github.com/users/pdilyard/following{/other_user}","gists_url":"https://api.github.com/users/pdilyard/gists{/gist_id}","starred_url":"https://api.github.com/users/pdilyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdilyard/subscriptions","organizations_url":"https://api.github.com/users/pdilyard/orgs","repos_url":"https://api.github.com/users/pdilyard/repos","events_url":"https://api.github.com/users/pdilyard/events{/privacy}","received_events_url":"https://api.github.com/users/pdilyard/received_events","type":"User","site_admin":false},"created_at":"2017-08-28T21:26:25Z","updated_at":"2017-08-28T21:26:25Z","body":"I take that back, it works, it just isn't customized by the theme I was using.\r\n\r\n\r\nThe following applies to spacemacs users (and may also apply to pure emacs users, but I can't guarantee that):\r\n\r\nFor anyone who is having problems, try executing `M-x configuration-layer/update-packages`.\r\n\r\nIf you place your cursor over the documentation and run `M-x describe-face`, you should see `font-lock-doc-face`.\r\n\r\nIf you want to customize that part of your theme, you can place the following code (adjusted for your theme and the color you want) in your `dotspacemacs/user-config` function:\r\n\r\n```elisp\r\n  (custom-theme-set-faces\r\n   'molokai\r\n   '(font-lock-doc-face ((t (:foreground \"#465457\")))))\r\n```"}}
{"actor":{"display_login":"pdilyard"}}